Subject: Re: I call Ducktype Violation on #to_proc! :)
From: transfire gmail.com
Date: Sun, 21 May 2006 12:21:26 +0900
References: 193692193700193705193707193709
In-reply-to: 193709
> def to_proc
> proc {|*args| self.call(*args) }
> end
Yea, and I ended up with
def to_proc
proc { |dummy| self }
end
But obviously the restriction is forcing some ugly code on us here.
T.