On 1/3/06, Ross Bamford <rosco / roscopeco.remove.co.uk> wrote:
>         class String
>           def to_proc
>             lambda { eval self }
>           end
>         end
>
>         [1,2,3].each &"puts it"
>
> gives:
>
>         1
>         2
>         3
>
>         => [1, 2, 3]

Except, of course, for the exception:

  NameError: undefined local variable or method `it'

;)

Jacob Fugal