diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-24 09:57:53 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-24 09:57:53 +0000 |
commit | 4e183b11acebdbce9fe843059ddb8e18e491cce1 (patch) | |
tree | a6cd8b6ecfb5e2f52f04cbbe29e4fd9f3adbd59e /test/ruby/test_eval.rb | |
parent | 99ab1fed49ba6b441fa5a6ae3d6818fae09b760e (diff) | |
download | ruby-4e183b11acebdbce9fe843059ddb8e18e491cce1.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@13244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_eval.rb')
-rw-r--r-- | test/ruby/test_eval.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_eval.rb b/test/ruby/test_eval.rb index e79d1c82ec..22cc4456d3 100644 --- a/test/ruby/test_eval.rb +++ b/test/ruby/test_eval.rb @@ -124,7 +124,7 @@ class TestEval < Test::Unit::TestCase obj.class.class_variable_set :@@cvar, 13 # Use same value with env. See also test_instance_variable_cvar. obj.class.const_set :Const, 15 unless obj.class.const_defined?(:Const) - funcall mid, obj + send! mid, obj end end @@ -364,7 +364,7 @@ class TestEval < Test::Unit::TestCase assert_nothing_raised { def temporally_method_for_test_eval_and_define_method(&block) lambda { - class << Object.new; self end.funcall(:define_method, :zzz, &block) + class << Object.new; self end.send!(:define_method, :zzz, &block) } end v = eval("temporally_method_for_test_eval_and_define_method {}") |