On Sep 29, 2004, at 09:38, SASADA Koichi wrote:

> [ruby-dev:24302] Invoke Proc object with any method name
>
> Nowake proposed that a Proc object should be invoked with
> any method name like that:
>
> 	m = Proc.new( :to_s ) { 'test1' }
> 	p m.to_s   # => 'test1'

<snip>

> He made a point that it is helphul that a Proc object can
> be handled as polymorphic.
>
> Matz amazed about this idea.

Me too... I haven't found a place to use it since I read about it two 
minutes ago, but it sends a tingle down my spine just thinking about 
it. It is definitely polymorphic Ruby goodness. Maybe we can convince 
Nowake to submit an RCR?


> See you at RubyConf2004.

Looking forward to it...


Nathaniel
Terralien, Inc.

<:((><