Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/ruby-prof/symbol_to_proc.rb
Instance Method Summary collapse
Instance Method Details
#to_proc ⇒ Object
3 4 5 |
# File 'lib/ruby-prof/symbol_to_proc.rb', line 3 def to_proc proc {|stuff| stuff.send(self)} end |