That'll do, after looking at the doc looks like you an .to_proc a
method object. Thanks for the help!

On Jul 7, 1:06=A0pm, Joel VanderWerf <vj... / path.berkeley.edu> wrote:
> Juston Davies wrote:
> > Is there any other way to take a method from another object and store i=
t
> > into a proc or lambda object?
>
> Yes. The result isn't a proc/lambda, but it is callable.
>
> s =3D "foo"
> m =3D s.method :reverse
> m2 =3D m.unbind
>
> s2 =3D "bar"
> m3 =3D m2.bind(s2)
> puts m3.call # =3D=3D> rab
>
> See docs for Method and UnboundMethod.
>
> --
> =A0 =A0 =A0 =A0vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407