Class: Symbol

Inherits:
Object show all
Defined in:
lib/ext/core.rb

Instance Method Summary collapse

Instance Method Details

#to_procObject



9
10
11
# File 'lib/ext/core.rb', line 9

def to_proc
  Proc.new { |*args| args.shift.__send__(self, *args) }
end