Class: Object

Inherits:
BasicObject
Defined in:
lib/faraday.rb

Overview

not pulling in active-support JUST for this method. And I love this method.

Instance Method Summary collapse

Instance Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



264
265
266
267
# File 'lib/faraday.rb', line 264

def tap
  yield(self)
  self
end