Skip to content

Commit

Permalink
Fix Native::Object#respond_to_missing?
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Aug 26, 2015
1 parent 1552d36 commit 47969e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/native.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def respond_to?(name, include_all = false)
Kernel.instance_method(:respond_to?).bind(self).call(name, include_all)
end

def respond_to_missing?(name)
def respond_to_missing?(name, include_all = false)
`Opal.hasOwnProperty.call(#@native, #{name})`
end

Expand Down

0 comments on commit 47969e5

Please sign in to comment.