Class: Object

Inherits:
BasicObject
Defined in:
lib/summon.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



34
35
36
37
# File 'lib/summon.rb', line 34

def tap(&block)
  yield self
  return self
end