1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

Fix deprecation warning method_missing

Fix deprecation warning on outdated method missing definition.
This commit is contained in:
Jeff Pereira 2017-09-20 15:56:08 -04:00 committed by GitHub
parent 466a1f0d4f
commit f914b32e76

View file

@ -52,7 +52,7 @@ class V8::Object
end
end
def respond_to?(method)
def respond_to?(method, include_all=false)
super or self[method] != nil
end
@ -76,4 +76,4 @@ class V8::Object
raise ArgumentError, "wrong number of arguments (#{args.length} for 0)" unless args.empty?
end
end
end
end