Class: Symbol

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#to_procObject

Borrowed from Ruby 1.9.



203
204
205
# File 'lib/buildr/core/util.rb', line 203

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