From: James Edward Gray II Date: 2006-12-14T07:01:10+09:00 Subject: Re: map taking an argument (was: Re: join_with) On Dec 13, 2006, at 3:56 PM, Christian Neukirchen wrote: > "Martin DeMello" writes: > >>> (1..10).map &lambda {|i| i*2} >> => [2, 4, 6, 8, 10, 12, 14, 16, 18, 20] > > David, do you want to allow (1..10).map(:*, 2) ? Does the version currently in Ruby 1.9 support arguments? James Edward Gray II