From b065cab4fa5ca25302220c20563398a57069ae08 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 11 Jun 2011 00:34:42 +0000 Subject: remove Rainbows.run method We can get away with a single stack frame reduction. Unicorn itself has more stack reductions, but Rainbows! is further behind in this area. --- lib/rainbows.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/rainbows.rb') diff --git a/lib/rainbows.rb b/lib/rainbows.rb index bd2c106..64d2d03 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -61,12 +61,6 @@ module Rainbows end # :stopdoc: - # runs the Rainbows! HttpServer with +app+ and +options+ and does - # not return until the server has exited. - def self.run(app, options = {}) # :nodoc: - HttpServer.new(app, options).start.join - end - class << self attr_accessor :server attr_accessor :cur # may not always be used -- cgit v1.2.3-24-ge0c7