From 585f8fcf0d514d381f9f98cf4d1db5d16d5d1aae Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 16 Oct 2009 03:07:21 +0000 Subject: [PATCH] * test/ruby/test_object.rb (test_respond_to_missing): respond_to_missing? should accept two arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_object.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb index 75ec959ad5..3980b5d41c 100644 --- a/test/ruby/test_object.rb +++ b/test/ruby/test_object.rb @@ -326,7 +326,7 @@ class TestObject < Test::Unit::TestCase def test_respond_to_missing c = Class.new do - def respond_to_missing?(id) + def respond_to_missing?(id, priv=false) if id == :foobar true else