Hi,
In message "Re: understanding the behavior of Method#to_proc"
on Wed, 19 Apr 2006 23:25:34 +0900, Eli Bendersky <eliben / gmail.com> writes:
|plus = 12.method("+")
|p plus.call(13) # prints 25
|plus_proc = plus.to_proc
|p plus_proc.call(10) # prints 10
Which version of Ruby are you using? My 1.8.4 gives me 22.
matz.