From: ts Date: 2001-08-12T00:13:20+09:00 Subject: [ruby-talk:19536] Re: order and freedom in Ruby (was: Re: Re: the way class variables work) >>>>> "M" == MikkelFJ writes: M> I have never tried, I just assumed that once you had created your class, M> changes to parent would not be transparent. There is at least one case where it's not totally transparent. This is not really for parent but when you use a module, for example : pigeon% cat b.rb #!/usr/bin/ruby module A def a puts "a" end end class C include A end C.new.a module B def b puts "b" end end module A include B def a puts "A" end end C.new.a C.new.b pigeon% pigeon% b.rb a A ./b.rb:28: undefined method `b' for # (NameError) pigeon% Guy Decoux