From: John Feminella Date: 2011-06-10T02:22:45+09:00 Subject: Re: a little challenge - reproduce this error > I realize now maybe how I should have phrased this as a challenge > >    module X >      class Foo >        def call >          X >        end >      end >    end > > Change one line of this code to cause this error: > >  uninitialized constant X::Foo::X (NameError) > > and without directly calling #raise. Just to be clear, do you mean "without invoking #call" (as in, pasting this into irb should raise the error), or is the intention that #call will be invoked? -- John Feminella Principal Consultant, BitsBuilder LI: http://www.linkedin.com/in/johnxf SO: http://stackoverflow.com/users/75170/