From: 7stud -- Date: 2009-09-17T14:51:01+09:00 Subject: Re: Monkey Patching 2 Methods, Overrides One Method, Not The MaggotChild wrote: > #test program > > ToBePatched::Foo.class_eval do > include MyModule::Main > end > > class Bs < ToBePatched::Foo > i_want_that_great_feature > end > > bs = Bs.new > bs.bar > bs.some_method > bs.another_method > $ ruby r1test.rb r1test.rb:1: uninitialized constant ToBePatched (NameError) -- Posted via http://www.ruby-forum.com/.