Class: Object

Inherits:
BasicObject
Defined in:
lib/sinatra/helpers/compat-1.8.6.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

See Also:



25
26
27
28
# File 'lib/sinatra/helpers/compat-1.8.6.rb', line 25

def tap
  yield(self)
  self
end