Sha256: 65fa4043bd43adcaeec43198f15b54d012bc664b099056018152292ea459478a

Contents?: true

Size: 157 Bytes

Versions: 2

Compression:

Stored size: 157 Bytes

Contents

major, minor, patch = RUBY_VERSION.split('.')

if major.to_i == 1 && minor.to_i < 9
  class Object
    def tap
      yield self
      self
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_oauth-0.1.4 lib/simple_oauth/core_ext/object.rb
simple_oauth-0.1.3 lib/simple_oauth/core_ext/object.rb