Class: Symbol
Instance Method Summary collapse
-
#to_proc ⇒ Object
:nodoc: For Ruby 1.8 compat, inspired by ActiveSupport.
Instance Method Details
#to_proc ⇒ Object
:nodoc: For Ruby 1.8 compat, inspired by ActiveSupport
44 45 46 |
# File 'lib/tweep/core_exts.rb', line 44 def to_proc lambda { |o| o.send(self) } end |