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
1 changed files with 2 additions and 2 deletions

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