Class: Symbol

Inherits:
Object show all
Defined in:
lib/stretto/util/utils.rb

Instance Method Summary collapse

Instance Method Details

#to_procObject



18
19
20
# File 'lib/stretto/util/utils.rb', line 18

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