From 320553cda48fac77e8cc2284b10b0f091a51722e Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 24 Aug 2007 09:57:53 +0000 Subject: * test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string. * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize): initialize @workdir to stop warning. * lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform_without_block): replace funcall by send!. other files in the distribution as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_primitive.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_primitive.rb') diff --git a/test/ruby/test_primitive.rb b/test/ruby/test_primitive.rb index 85a8be9f9..68c53b0bd 100644 --- a/test/ruby/test_primitive.rb +++ b/test/ruby/test_primitive.rb @@ -50,7 +50,7 @@ class TestRubyPrimitive < Test::Unit::TestCase assert_equal 3, A::B::C::Const assert_equal 3, A::B::C.new.const assert_equal 1, ::TestRubyPrimitive::A::Const - A::B::C.funcall(:remove_const, :Const) + A::B::C.send!(:remove_const, :Const) assert_equal 2, A::B::C.new.const assert_raise(TypeError) { C::CONST -- cgit