Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/hash_mapper.rb
Instance Method Summary collapse
Instance Method Details
#to_proc ⇒ Object
26 27 28 |
# File 'lib/hash_mapper.rb', line 26 def to_proc Proc.new {|obj| obj.send(self) } end |