Class Index [+]

Quicksearch

Merb::Rack::Ebb

Public Class Methods

new_server(port) click to toggle source

start an Ebb server on given host and port. :api: plugin

    # File lib/merb-core/rack/adapter/ebb.rb, line 9
 9:       def self.new_server(port)
10:         Merb::Dispatcher.use_mutex = false
11:         opts = @opts.merge(:port => port)
12:         @th = Thread.new { Thread.current[:server] = ::Ebb.start_server(opts[:app], opts) }
13:       end
start_server() click to toggle source

:api: plugin

    # File lib/merb-core/rack/adapter/ebb.rb, line 16
16:       def self.start_server
17:         @th.join
18:       end
stop(status = 0) click to toggle source

:api: plugin

    # File lib/merb-core/rack/adapter/ebb.rb, line 21
21:       def self.stop(status = 0)
22:         ::Ebb.stop_server
23:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.