[#927] UnboundMethod#to_proc — Dave Thomas <dave@...>

I'm wondering what I can do with a Proc generated by

17 messages 2003/04/06

Re: UnboundMethod#to_proc

From: matz@... (Yukihiro Matsumoto)
Date: 2003-04-08 02:44:54 UTC
List: ruby-core #942
Hi,

In message "Re: UnboundMethod#to_proc"
    on 03/04/08, Dave Thomas <dave@thomases.com> writes:

|Not necessarily: I don't believe that Unbound should inherit from 
|Method: I think they should both inherit from Object. All they really 
|share is 'arity', and Proc has that too.

Not necessarily indeed.  It's just because implementation
convenience. 

							matz.

In This Thread