From: ara.t.howard@... Date: 2006-08-25T03:27:10+09:00 Subject: Re: do not understand this closure On Fri, 25 Aug 2006, rak rok wrote: > Is there any way to have a proc object be callable identically to a method, > ie with the parentheses? Is there a reason to keep the notation distinct? > > Thanks, > -rr- harp:~ > cat a.rb def the_method() 'namespace one' end the_method = String.new 'namespace two' p the_method() p the_method harp:~ > ruby a.rb "namespace one" "namespace two" that said, 1.9 has support for a_proc() -a -- to foster inner awareness, introspection, and reasoning is more efficient than meditation and prayer. - h.h. the 14th dali lama