1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
gotoyuzo 2006-07-01 08:03:18 +00:00
parent 8a15f88901
commit ab0a7bd2fa

View file

@ -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