From: ts Date: 2001-11-01T01:07:52+09:00 Subject: [ruby-talk:23973] Re: Overiding a method in another module >>>>> "M" == Mark Hahn writes: Well, the response was given by another person, just a small precision M> module M2 M> class M1::C1 <=== gives syntax error This is in the ToDo * class Foo::Bar VCALL dump NEWLINE <./b.rb:3> MODCLASS A SCOPE NEWLINE <./b.rb:3> MODCLASS B SCOPE NEWLINE <./b.rb:3> DEFN method SCOPE ARGS(a) NEWLINE <./b.rb:6> MODCLASS A SCOPE NEWLINE <./b.rb:6> DEFS CONST C method SCOPE ARGS(b) ./b.rb: uninitialized constant C at A (NameError) pigeon% What others think about these 2 syntax (def Class#method(), def A::B::method()) ? Usefull or not ? Guy Decoux