>>>>> "B" == Bertram Scharpf <lists@bertram-scharpf.de> writes:
B> class <<c ; @x = 'X' ; end
You are working with the singleton class (see what is the value of self
when you make the assignement to @x), use the singleton class
B> puts c.instance_variables, c.instance_eval( '@x')
B> puts @x
puts class <<c; self end.instance_variables,
class <<c; self end.instance_eval( '@x')
Guy Decoux