This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
therubyracer
Watch
1
Star
0
Fork
You've already forked therubyracer
0
mirror of
https://github.com/rubyjs/therubyracer
synced
2023-03-27 23:21:42 -04:00
Code
Releases
Activity
f4d9a6269b
therubyracer
/
lib
/
v8
/
tap.rb
10 lines
117 B
Ruby
Raw
Normal View
History
Unescape
Escape
add tap support to 1.8.6
2010-02-17 08:02:16 -05:00
unless
Object
.
method_defined?
(
:tap
)
class
Object
def
tap
yield
self
fixes for 1.8.6: tap.rb implementation didn't actually return self. Symbol#to_proc not defined until 1.8.7
2010-05-28 05:56:52 -04:00
return
self
add tap support to 1.8.6
2010-02-17 08:02:16 -05:00
end
end
end
Copy permalink