Method: Object#tap
- Defined in:
- lib/widgeon/patches/ruby_patch.rb
#tap(&block) ⇒ Object
23 24 25 26 |
# File 'lib/widgeon/patches/ruby_patch.rb', line 23 def tap &block block.call self self end |
23 24 25 26 |
# File 'lib/widgeon/patches/ruby_patch.rb', line 23 def tap &block block.call self self end |