Class: Rack::Handler::Zapp

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/handler/zapp.rb

Overview

Rack handler for the Zapp web server

Class Method Summary collapse

Class Method Details

.run(app) ⇒ Object



11
12
13
14
# File 'lib/rack/handler/zapp.rb', line 11

def self.run(app)
  Zapp.config.app = app
  Zapp::Server.new.run
end