Dan Doel <djd15 / po.cwru.edu> skrev den Fri, 22 Aug 2003 18:31:33 +0900:

> p meth1.call
> p meth2.call
>
> It's not as transparent as in Python (calling Proc/Method objects don't 
> use the same syntax as normal method calls)
> but there's no reason you need that for anything other than syntactic 
> consistency, and adding that would cause
> more problems than it would solve.
>
(This has been discussed before but) for a "workaround" for the
syntactic inconsistency:

class Method
  def [](*a)
    self.call(*a)
  end
end

meth1[] # => 1

which is pretty close... ;)

/Robert