konsu wrote: > class C defines an instance variable @x: > > class C > def initialize; @x = 'C'; end > def to_s; @x; end > end > > i want to override 'to_s' method. but the new implementation that i have > in my fragment still needs to refer to @x. I don't see a (stylistic or whatever) problem in directly referring to @x from the module. Since it works, it must be supposed to be done like this, I guess. Malte