Class: Storey::RackSwitch
- Inherits:
-
Object
- Object
- Storey::RackSwitch
- Defined in:
- lib/storey/rack_switch.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, processor = Storey.configuration.switch_processor) ⇒ RackSwitch
constructor
A new instance of RackSwitch.
Constructor Details
#initialize(app, processor = Storey.configuration.switch_processor) ⇒ RackSwitch
Returns a new instance of RackSwitch.
4 5 6 |
# File 'lib/storey/rack_switch.rb', line 4 def initialize(app, processor=Storey.configuration.switch_processor) @app, @processor = app, processor end |