Class: Tartarus::Rack
- Inherits:
-
Object
- Object
- Tartarus::Rack
- Defined in:
- lib/tartarus/rack.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, configuration = {}) ⇒ Rack
constructor
A new instance of Rack.
Constructor Details
#initialize(app, configuration = {}) ⇒ Rack
Returns a new instance of Rack.
2 3 4 5 |
# File 'lib/tartarus/rack.rb', line 2 def initialize(app, configuration = {}) @app = app @configuration = configuration end |