summaryrefslogtreecommitdiffstats
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
commitc23c7c22283cf7bf61bff050f1b95b505cdcc788 (patch)
tree805847141cef35d4eec124d67cb1c1ebf879b85c /test/webrick
parentdde49d8e192d7e80755cbf39ce9bebfac9e35a0e (diff)
downloadruby-c23c7c22283cf7bf61bff050f1b95b505cdcc788.tar.gz
ruby-c23c7c22283cf7bf61bff050f1b95b505cdcc788.tar.xz
ruby-c23c7c22283cf7bf61bff050f1b95b505cdcc788.zip
* test/webrick/utils.rb: use Proc#yield instead of Proc#call.
[ruby-dev:28914] git-svn-id: http://svn.ruby-lang.org/repos/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 f1e6e4b02..ba0315614 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