mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
Merge pull request #441 from jeffpereira/patch-1
Fix deprecation warning method_missing
This commit is contained in:
commit
56da5e5475
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
|
||||
|
||||
|
@ -76,4 +76,4 @@ class V8::Object
|
|||
raise ArgumentError, "wrong number of arguments (#{args.length} for 0)" unless args.empty?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue