From: Martin DeMello Date: 2006-11-29T20:23:41+09:00 Subject: Re: returning Procs from methods? On 11/29/06, Robert Feldt wrote: > > > sure > > def do_stuff > lambda {|a| a+1} > end > > b = [1,2].map(&do_stuff) lambda {|a| a+1} is the new "hello world" :) martin