Martin DeMello
8/24/2006 6:17:00 PM
On 8/24/06, rak rok <rakrok@gmail.com> 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?
No, mostly because () is not a method, it's syntax. [] on the other
hand is a method, and therefore available for Proc#[] to be aliased to
Proc#call
martin