ruby-procto

Defines Foo.call(*args) which invokes Foo.new(*args).bar
  https://github.com/snusnu/procto
  0
  no reviews



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