ruby-changes:13582
From: nobu <ko1@a...>
Date: Fri, 16 Oct 2009 12:08:59 +0900 (JST)
Subject: [ruby-changes:13582] Ruby:r25363 (trunk): * test/ruby/test_object.rb (test_respond_to_missing):
nobu 2009-10-16 12:07:21 +0900 (Fri, 16 Oct 2009) New Revision: 25363 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25363 Log: * test/ruby/test_object.rb (test_respond_to_missing): respond_to_missing? should accept two arguments. Modified files: trunk/test/ruby/test_object.rb Index: test/ruby/test_object.rb =================================================================== --- test/ruby/test_object.rb (revision 25362) +++ test/ruby/test_object.rb (revision 25363) @@ -326,7 +326,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/