On 11/29/06, Robert Feldt <robert.feldt / gmail.com> 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