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:
parent
ee2512496c
commit
585f8fcf0d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue