mirror of
https://github.com/samsonjs/simple_oauth.git
synced 2026-04-27 14:57:45 +00:00
Apparently, Object#tap was added in 1.8.7, not 1.9
This commit is contained in:
parent
cde93bb5cc
commit
65f01e0c92
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
major, minor, patch = RUBY_VERSION.split('.')
|
major, minor, patch = RUBY_VERSION.split('.')
|
||||||
|
|
||||||
if major.to_i == 1 && minor.to_i < 9
|
if major.to_i == 1 && minor.to_i == 8 && patch.to_i <= 6
|
||||||
class Object
|
class Object
|
||||||
def tap
|
def tap
|
||||||
yield self
|
yield self
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue