Gavin Kistner wrote:
I'm trying to code in Ruby something that looks like this, when
reduced and highly simplified:[snip]
As the code suggest, what I except is:
B class init
B instance init
123
456
B instance init
789Depending 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
sample.)
Hi,
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 help!
ยทยทยท
---------------
Philippe Lang
Attik System