From: Arturo Garcia Date: 2010-11-28T21:16:05+09:00 Subject: Re: Newbie: two cool discoveries On Saturday 27 November 2010 00:45:14 w_a_x_man wrote: > On Nov 26, 8:11 am, Arturo Garcia wrote: > > the "&" is a shortcut to "to_proc" > > > > class Symbol > > def to_proc > > lambda { |x| x.__send__(self) } > > Note that it's to_proc, not to_lambda. I don't see why > anyone would want to type the gibberish "lambda" when > he could type the shorter and clearer "proc". Yes, is to_proc. not because is shorter and clearer, btw, but because is to_proc.