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:
parent
466a1f0d4f
commit
f914b32e76
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue