Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-prof/symbol_to_proc.rb

Instance Method Summary collapse

Instance Method Details

#to_procObject



3
4
5
# File 'lib/ruby-prof/symbol_to_proc.rb', line 3

def to_proc
   proc {|stuff| stuff.send(self)}
end