Class: Symbol

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

Instance Method Summary collapse

Instance Method Details

#to_procObject



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

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