Class: Object

Inherits:
BasicObject
Defined in:
lib/oauth/core_ext.rb

Overview

these are to backport methods from 1.8.7/1.9.1 to 1.8.6

Instance Method Summary collapse

Instance Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



6
7
8
9
# File 'lib/oauth/core_ext.rb', line 6

def tap
  yield self
  self
end