Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/pru/core_ext/symbol.rb

Instance Method Summary collapse

Instance Method Details

#to_procObject


3
4
5
# File 'lib/pru/core_ext/symbol.rb', line 3

def to_proc
  proc { |obj, *args| obj.send(self, *args) }
end