Class: Corrupt::App

Inherits:
Object
  • Object
show all
Defined in:
lib/corrupt/app.rb

Overview

This is the main Rack app, which is ran through

run Corrupt::App

Class Method Summary collapse

Class Method Details

.call(env) ⇒ Object



6
7
8
# File 'lib/corrupt/app.rb', line 6

def self.call(env)
  Router.dispatch(env['PATH_INFO'])
end