On Mon, Aug 05, 2002 at 05:51:58PM +0900, ts wrote: > >>>>> "T" == Tomasz Wegrzanowski <taw / users.sourceforge.net> writes: > > T> Where does this message come from and how can I overload this: > T> NameError: uninitialized constant Bar at Foo > > The constant Foo::Bar don't exist > > > pigeon% ruby -e 'module Foo Bar = Class.new; end; p Foo::Bar.new' > #<Foo::Bar:0x401b0aa4> > pigeon% I mean not just for one Bar, for any Bar. What I want is creation of constants at first request, the same way I can create methods with method_missing.