Class: Object

Inherits:
BasicObject
Defined in:
lib/faraday.rb

Overview

not pulling in active-support JUST for 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



84
85
86
87
# File 'lib/faraday.rb', line 84

def tap
  yield self
  self
end