Class: Ramaze::Adapter::Ebb

Inherits:
Base show all
Defined in:
lib/ramaze/adapter/ebb.rb

Class Method Summary collapse

Methods inherited from Base

before_call, call, join, respond, start

Class Method Details

.shutdownObject



13
14
15
# File 'lib/ramaze/adapter/ebb.rb', line 13

def self.shutdown
  ::Ebb.stop_server
end

.startup(host, port) ⇒ Object



6
7
8
9
10
11
# File 'lib/ramaze/adapter/ebb.rb', line 6

def self.startup(host, port)
  ::Ebb.log = StringIO.new
  Thread.new do
    ::Ebb.start_server(self, :port => port)
  end
end