Class: Object

Inherits:
BasicObject
Defined in:
lib/appkernel/tap.rb

Instance Method Summary collapse

Instance Method Details

#tap {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on

[View source]

3
4
5
6
# File 'lib/appkernel/tap.rb', line 3

def tap
  yield self
  self
end