Module: Sinatra::MoreServer::Rainbows

Defined in:
lib/sinatra/more_server/zbatery.rb,
lib/sinatra/more_server/rainbows.rb

Overview

Rack Handler to use Rainbows for Sinatra::Base.run!

Class Method Summary collapse

Class Method Details

.run(app, options = {}) ⇒ Object



8
9
10
# File 'lib/sinatra/more_server/zbatery.rb', line 8

def self.run(app, options = {})
  Sinatra::MoreServer::Unicorn.run app, options.merge(:Backend => ::Zbatery)
end