From: Austin Ziegler Date: 2006-07-05T04:23:51+09:00 Subject: Re: About 1.9 #__method__ feature. On 7/4/06, Yukihiro Matsumoto wrote: > Ah, maybe I didn't express myself clear. > obj.send(:foo, args) > does work like > obj.foo(args) > and > obj.funcall(:foo, args) > works like > foo(args) So: class Foo def foo(*args) end private :foo def bar(*args) end end obj = Foo.new obj.foo(5) # Throws an error, just as now. obj.send(:foo, 5) # ??? obj.funcall(:foo, 5) # ??? Will #funcall be the way that I can circumvent private? -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca