Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/engineyard/ruby_ext.rb
Instance Method Summary collapse
-
#tap {|_self| ... } ⇒ Object
Ruby 1.9 has it, 1.8 doesn’t.
Instance Method Details
#tap {|_self| ... } ⇒ Object
Ruby 1.9 has it, 1.8 doesn’t
4 5 6 7 |
# File 'lib/engineyard/ruby_ext.rb', line 4 def tap yield self self end |