mirror of
https://github.com/samsonjs/simple_oauth.git
synced 2026-03-25 08:45:54 +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('.')
|
||||
|
||||
if major.to_i == 1 && minor.to_i < 9
|
||||
if major.to_i == 1 && minor.to_i == 8 && patch.to_i <= 6
|
||||
class Object
|
||||
def tap
|
||||
yield self
|
||||
|
|
|
|||
Loading…
Reference in a new issue