Gary Wright wrote in post #987429: > On Mar 14, 2011, at 6:24 PM, 7stud -- wrote: >> obj = Object.new >> m = obj.method(my_meth) >> m.call([10, 20, 30], &my_proc) #LocalJumpError at yield line > > Your comment about LocalJumpError should be one line above and it > occurs because you are calling my_meth without a block and are > attempting to yield to the non-existent block. You don't want > to invoke my_meth there, you want to *name* it: > >> m = obj.method('my_meth') > > Ah, a typo. Thanks. -- Posted via http://www.ruby-forum.com/.