From: Robert Dober Date: 2008-11-23T19:46:30+09:00 Subject: Re: wish list item: Method#to_proc ------=_Part_80575_30619898.1227437449234 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sun, Nov 23, 2008 at 2:52 AM, ara.t.howard wrote= : > > I guess you meant bind( this ).to_proc > > p M.instance_method(:m).to_proc(self).call but I guess OP rather wanted M.i_m(:m).to_proc.call( self ) which on a quick thought seems impossible to have :( > > the issues is, without binding, what is 'self' ??? once bound, to_proc > exists. It could be provided at call time, see example above. I kinda like the idea= . Cheers Robert --=20 Ne baisse jamais la t=EAte, tu ne verrais plus les =E9toiles. Robert Dober ;) ------=_Part_80575_30619898.1227437449234--