Class Rack::Handler::Thin
In: lib/rack/handler/thin.rb
Parent: Object

Methods

run  

Public Class methods

[Source]

    # File lib/rack/handler/thin.rb, line 6
 6:       def self.run(app, options={})
 7:         server = ::Thin::Server.new(options[:Host] || '0.0.0.0',
 8:                                     options[:Port] || 8080,
 9:                                     app)
10:         yield server if block_given?
11:         server.start
12:       end

[Validate]