Class: Object

Inherits:
BasicObject
Extended by:
Docable
Defined in:
lib/amp/support/docs.rb,
lib/amp/dependencies/zip/stdrubyext.rb,
lib/amp/support/ruby_19_compatibility.rb

Instance Method Summary collapse

Methods included from Docable

docs_for, tag_callback, tag_callbacks

Instance Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



24
25
26
27
# File 'lib/amp/support/ruby_19_compatibility.rb', line 24

def tap
  yield self
  self
end