Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #441 from jeffpereira/patch-1
Browse files Browse the repository at this point in the history
Fix deprecation warning method_missing
  • Loading branch information
cowboyd committed Feb 7, 2018
2 parents e7488e7 + f914b32 commit 56da5e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/v8/object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def to_s
end
end

def respond_to?(method)
def respond_to?(method, include_all=false)
super or self[method] != nil
end

Expand All @@ -76,4 +76,4 @@ def method_missing(name, *args, &block)
raise ArgumentError, "wrong number of arguments (#{args.length} for 0)" unless args.empty?
end
end
end
end

0 comments on commit 56da5e5

Please sign in to comment.