1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2009-10-16 03:07:21 +00:00
parent ee2512496c
commit 585f8fcf0d

View file

@ -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