Class: Symbol

Inherits:
Object show all
Defined in:
lib/ruby_ext.rb

Instance Method Summary collapse

Instance Method Details

#to_procObject



114
115
116
# File 'lib/ruby_ext.rb', line 114

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