about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-06-11 00:34:42 +0000
committerEric Wong <normalperson@yhbt.net>2011-06-11 00:35:43 +0000
commitb065cab4fa5ca25302220c20563398a57069ae08 (patch)
treea2305ea7eaf35427b10c1cdb889b9bdfa0797558 /lib/rainbows.rb
parent1468604be898d17c2cf2da519dccd493c58f4282 (diff)
downloadrainbows-b065cab4fa5ca25302220c20563398a57069ae08.tar.gz
We can get away with a single stack frame reduction.  Unicorn
itself has more stack reductions, but Rainbows! is further
behind in this area.
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r--lib/rainbows.rb6
1 files changed, 0 insertions, 6 deletions
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