From: Robert Dober Date: 2006-08-04T07:41:05+09:00 Subject: Re: define_method vs eval "def ..." ------=_Part_96223_16781423.1154644861248 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/3/06, nobu@ruby-lang.org wrote: > > Hi, > > At Thu, 3 Aug 2006 22:45:40 +0900, > Tomasz Wegrzanowski wrote in [ruby-talk:205997]: > > Is there some way to define method that takes a block argument > > without calling eval ? > > Using 1.9. > > -- > Nobu Nakada and it seems to make it into Ruby2 since June http://pub.cozmixng.org/~the-rwiki/?cmd=3Dview;name=3DRuby2.0BlockParameter= AndMultipleValueAssignment which I consider extremly good news :) Robert --=20 Deux choses sont infinies : l'univers et la b=EAtise humaine ; en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------=_Part_96223_16781423.1154644861248--