From: Takaaki Tateishi Date: 2006-07-04T18:02:44+09:00 Subject: Re: Arrray#to_proc Alex Young wrote: >> [9, 19, 29].map(&[:succ, :to_s, :reverse]) >> => ["01", "02", "03"] > I'd rather do this: ... > [9, 19, 29].map( &:succ + &:to_s + &:reverse ) > #=> ["01", "02", "03"] I also wrote similar code for my project: http://rubyforge.org/cgi-bin/viewvc.cgi/blockutils/?root=blockutils That includes the other utility functions for ruby-1.9, but can't work with ruby-1.8. Regards, -- Takaaki Tateishi