diff options
author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-01 08:03:18 +0000 |
---|---|---|
committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-01 08:03:18 +0000 |
commit | ab0a7bd2fa6991b133dd70ce1cff37d9dc67b9cb (patch) | |
tree | 805847141cef35d4eec124d67cb1c1ebf879b85c /test/webrick/utils.rb | |
parent | 8a15f889013afb5c185b1f456754bf8d6ad3e583 (diff) | |
download | ruby-ab0a7bd2fa6991b133dd70ce1cff37d9dc67b9cb.tar.gz |
* test/webrick/utils.rb: use Proc#yield instead of Proc#call.
[ruby-dev:28914]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick/utils.rb')
-rw-r--r-- | test/webrick/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/webrick/utils.rb b/test/webrick/utils.rb index f1e6e4b027..ba03156145 100644 --- a/test/webrick/utils.rb +++ b/test/webrick/utils.rb @@ -23,7 +23,7 @@ module TestWEBrick begin thread = Thread.start{ server.start } addr = server.listeners[0].addr - block.call([server, addr[3], addr[1]]) + block.yield([server, addr[3], addr[1]]) ensure server.stop thread.join |