Class: Symbol

Inherits:
Object show all
Defined in:
lib/goat/extn.rb

Instance Method Summary collapse

Instance Method Details

#to_procObject



4
5
6
# File 'lib/goat/extn.rb', line 4

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