From: hemant kumar Date: 2007-12-18T03:29:26+09:00 Subject: Re: Constant Resolution Confusion On Tue, 2007-12-18 at 03:10 +0900, Phrogz wrote: > I was surprised by the following this weekend: > > module Foo > module Bar; end > class Whee1 > include Bar > end > end > # All is well > > class Foo::Whee2 > include Bar > end > #=> uninitialized constant Foo::Whee2::Bar (NameError) > > Is the answer simply "lexically scoped resolution"? > > Is the above still the case with 1.9? > Yuck.. And yes "problem" persists with Ruby1.9. -- Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. http://gnufied.org