diff --git a/lib/v8/object.rb b/lib/v8/object.rb index 71f6281..30b66f2 100644 --- a/lib/v8/object.rb +++ b/lib/v8/object.rb @@ -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 \ No newline at end of file +end