Module: Vienna

Defined in:
lib/vienna.rb,
lib/vienna/version.rb

Overview

Zero-configuration convenience wrapper around Vienna::Application. Add this to your config.ru:

require 'vienna'
run Vienna

Your static site in public will be served.

Defined Under Namespace

Classes: Application, NotFound, Static

Constant Summary collapse

VERSION =
'0.4.2'

Class Method Summary collapse

Class Method Details

.call(env) ⇒ Object



17
18
19
# File 'lib/vienna.rb', line 17

def call(env)
  Application.new.call(env)
end