diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-16 03:07:21 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-16 03:07:21 +0000 |
| commit | 1a681083d35481463dbf61d34d79cb33315184f6 (patch) | |
| tree | bcb153ae2e78cd831461e08b4a599f072669f7d3 /test/ruby | |
| parent | bc486a224e8c8adece10877b559dd5e4e8c8312b (diff) | |
| download | ruby-1a681083d35481463dbf61d34d79cb33315184f6.tar.gz ruby-1a681083d35481463dbf61d34d79cb33315184f6.tar.xz ruby-1a681083d35481463dbf61d34d79cb33315184f6.zip | |
* test/ruby/test_object.rb (test_respond_to_missing):
respond_to_missing? should accept two arguments.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_object.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb index 75ec959ad..3980b5d41 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 |
