From: Joel VanderWerf Date: 2009-07-08T04:06:40+09:00 Subject: Re: A define_method question Juston Davies wrote: > Is there any other way to take a method from another object and store it > into a proc or lambda object? Yes. The result isn't a proc/lambda, but it is callable. s = "foo" m = s.method :reverse m2 = m.unbind s2 = "bar" m3 = m2.bind(s2) puts m3.call # ==> rab See docs for Method and UnboundMethod. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407