mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
9 lines
99 B
Ruby
9 lines
99 B
Ruby
|
|
||
|
unless Object.method_defined?(:tap)
|
||
|
class Object
|
||
|
def tap
|
||
|
yield self
|
||
|
end
|
||
|
end
|
||
|
end
|