From: Kyung won Cheon Date: 2008-08-08T10:57:52+09:00 Subject: I don't know why!! -- test1.rb -- module M module MM class C end class D < MM::C end class E < MM::C; puts self; end end end # => M::MM::E -- test2.rb -- module M module MM class C end class D < MM::C end #class E < MM::C; puts self; end end end M::MM.module_eval("class E < MM::C; puts self; end") # => uninitialized constant M::MM::MM (NameError) -- test3.rb -- module M module MM class C end class D < MM::C end #class E < MM::C; puts self; end end end M::MM.module_eval("class E < C; puts self; end") # => M::MM::E ################### # test2.rb ??? ################### -- Posted via http://www.ruby-forum.com/.