Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/kaboom/core_ext/symbol.rb
Instance Method Summary collapse
Instance Method Details
#to_proc ⇒ Object
3 4 5 |
# File 'lib/kaboom/core_ext/symbol.rb', line 3 def to_proc Proc.new { |obj, *args| obj.send(self, *args) } end |