Class: Symbol

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

Instance Method Summary collapse

Instance Method Details

#to_procObject



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

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