Class: Rack::Handler::Glassfish
- Inherits:
-
Object
- Object
- Rack::Handler::Glassfish
- Defined in:
- lib/rack/handler/glassfish.rb
Class Method Summary collapse
Class Method Details
.run(app, options = {}) ⇒ Object
42 43 44 45 46 47 |
# File 'lib/rack/handler/glassfish.rb', line 42 def self.run(app, ={}) GlassFish::Server.start(:address=>([:Host] || '0.0.0.0'), :port=>([:Port] || 3000)) do run app end end |