From ab0a7bd2fa6991b133dd70ce1cff37d9dc67b9cb Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Sat, 1 Jul 2006 08:03:18 +0000 Subject: * 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 --- test/webrick/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3