Re: Global dynamic method definition

Gavin K. wrote:


Depending on how much you’ve simplified it, you might see if
the following code helps. (I wonder if you really need to
dynamically define a new method; you certainly don’t to
achieve the desired output of your


Right, my first example was very very simplified, and your first class
variable example did exactly what I needed. Again, thanks a lot for your

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs