> cfp:~ > ruby a.rb
> #<UnboundMethod: M#m>
> 42
> 
> 
> 
> the issues is, without binding, what is 'self' ???  once bound,
> to_proc exists.

Cool, though I'll admit I don't understand exactly everything that goes 
on in there :)

My real goal is to be able to share methods from one class to another.

I guess one could "share" methods from class to class [if the method 
originated from a module] by searching ancestor modules for a method and 
then 'cherry picking' it from the ancestor and including it [?]
-=R

http://eigenclass.org/hiki.rb?cmd=view&p=Rename+and+reject+methods+from+included+modules&key=eiffel
-- 
Posted via http://www.ruby-forum.com/.