[ 原始碼: ruby-procto ]
套件:ruby-procto(0.0.3-3)
Defines Foo.call(*args) which invokes Foo.new(*args).bar
Methods are a fundamental part of Ruby's syntax, but they are not values that Ruby programs can operate on. That is, Ruby's methods are not objects in the way that strings, numbers, and arrays are.
This turns your object into a method object