summaryrefslogtreecommitdiff
path: root/test/webrick
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-01 08:03:18 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-01 08:03:18 +0000
commitab0a7bd2fa6991b133dd70ce1cff37d9dc67b9cb (patch)
tree805847141cef35d4eec124d67cb1c1ebf879b85c /test/webrick
parent8a15f889013afb5c185b1f456754bf8d6ad3e583 (diff)
* 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')
-rw-r--r--test/webrick/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/webrick/utils.rb b/test/webrick/utils.rb
index f1e6e4b..ba03156 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