Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/gvoice-ruby/compatibility.rb

Instance Method Summary collapse

Instance Method Details

#to_procObject



43
44
45
# File 'lib/gvoice-ruby/compatibility.rb', line 43

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