From: Mauricio Fernandez Date: 2006-09-09T03:03:03+09:00 Subject: Re: [CHALLENGE] better alias_method On Sat, Sep 09, 2006 at 12:20:51AM +0900, ara.t.howard@noaa.gov wrote: > On Fri, 8 Sep 2006, Ken Bloom wrote: > >On Fri, 08 Sep 2006 14:34:39 +0900, ara.t.howard wrote: > > the show stopper for me is the fact that define_method cannot define methods > that take blocks - so your approach loses them during the alias process. > > i remember that define_method will soon have the ability to define methods > that take blocks do you know if that's in 1.8.5 or the 1.9 branch? It's been in 1.9 for quite a long time now. -- Mauricio Fernandez - http://eigenclass.org - singular Ruby