about summary refs log tree commit homepage
path: root/lib/rainbows/ev_core.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-12-16 00:50:23 -0800
committerEric Wong <normalperson@yhbt.net>2009-12-16 00:50:23 -0800
commit2ccce76d94046d017a9b02a0b033e3fff9483e98 (patch)
tree6511477823728371bc4e378b760a16b45da5908a /lib/rainbows/ev_core.rb
parent51e656e3db593c662e7abdf969dd79570525aac9 (diff)
downloadrainbows-2ccce76d94046d017a9b02a0b033e3fff9483e98.tar.gz
It gets in the way of Rev/EM-based models that won't use EvCore.
It doesn't actually do anything useful except making an extra
layer of indirection to follow.
Diffstat (limited to 'lib/rainbows/ev_core.rb')
-rw-r--r--lib/rainbows/ev_core.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rainbows/ev_core.rb b/lib/rainbows/ev_core.rb
index 10d9557..0d3c079 100644
--- a/lib/rainbows/ev_core.rb
+++ b/lib/rainbows/ev_core.rb
@@ -11,10 +11,6 @@ module Rainbows
     # Apps may return this Rack response: AsyncResponse = [ -1, {}, [] ]
     ASYNC_CALLBACK = "async.callback".freeze
 
-    def self.setup(klass)
-      klass.const_set(:APP, G.server.app)
-    end
-
     def post_init
       @remote_addr = ::TCPSocket === @_io ? @_io.peeraddr.last : LOCALHOST
       @env = {}