From: Fabian Streitel Date: 2009-09-18T15:25:04+09:00 Subject: Re: Monkey Patching 2 Methods, Overrides One Method, Not The --000e0ce0d64025a0c60473d431f0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable why is there two threads on this topic? If you look in the other thread, there's a bunch of code missing. If you add that, it works. Greetz! 2009/9/18 7stud -- > MaggotChild wrote: > > On Sep 16, 10:51=EF=BF=BDpm, 7stud -- wrote: > >> > >> > bs =3D Bs.new > >> > bs.bar > >> > bs.some_method > >> > bs.another_method > >> > >> $ ruby r1test.rb > >> r1test.rb:1: uninitialized constant ToBePatched (NameError) > > > > Not sure what's in r1test.rb, > > Everything that I quoted. > -- > Posted via http://www.ruby-forum.com/. > > --000e0ce0d64025a0c60473d431f0--