Parent

Class Index [+]

Quicksearch

Rack::Handler::Thin

Public Class Methods

run(app, options={}) click to toggle source
    # File lib/rack/handler/thin.rb, line 8
 8:       def self.run(app, options={})
 9:         server = ::Thin::Server.new(options[:Host] || '0.0.0.0',
10:                                     options[:Port] || 8080,
11:                                     app)
12:         yield server if block_given?
13:         server.start
14:       end
valid_options() click to toggle source
    # File lib/rack/handler/thin.rb, line 16
16:       def self.valid_options
17:         {
18:           "Host=HOST" => "Hostname to listen on (default: localhost)",
19:           "Port=PORT" => "Port to listen on (default: 8080)",
20:         }
21:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.