Add dynamic instance methods in a controller

Hello All,

I have a problem while developping an application using rails.
I'd like to add some methods to my controller depending upon some
parameters read from an xml file during initialisation (I hope I am
quite clear :slight_smile: )
Below is the code I am using: