mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c89882197e
commit
75c1cac7f3
442 changed files with 4654 additions and 4654 deletions
|
@ -5,19 +5,19 @@ module WEBrick_Testing
|
|||
def initialize() super(self) end
|
||||
def <<(*args) end
|
||||
end
|
||||
|
||||
|
||||
def start_server(config={})
|
||||
raise "already started" if @__server
|
||||
@__started = false
|
||||
|
||||
Thread.new {
|
||||
@__server = WEBrick::HTTPServer.new(
|
||||
{
|
||||
{
|
||||
:Logger => DummyLog.new,
|
||||
:AccessLog => [],
|
||||
:StartCallback => proc { @__started = true }
|
||||
}.update(config))
|
||||
yield @__server
|
||||
yield @__server
|
||||
@__server.start
|
||||
@__started = false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue