From: David Corbin Date: 2002-03-18T11:13:29+09:00 Subject: Re: eval/Module question (clearer) Let me try again. ---snip--- #!/usr/local/bin/ruby module Gamma $x= <Hi, > >At Mon, 18 Mar 2002 09:11:38 +0900, >David Corbin wrote: > >>---cut--- >>module Foo >> class Bar >> def zim() >> end >> end >>end >>----cut--- >>I then call "eval(src)". After that, shouldn't >>Object.new.get_const("Foo") return an object, and not nil? >> > >Object has no instance method `const_get', but only class >method. >