Class: Object

Inherits:
BasicObject
Defined in:
lib/sinatra/support/compat-1.8.6.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) tap {|_self| ... }

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on

See Also:



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

def tap
  yield(self)
  self
end