Class: Autotuner::RackPlugin
- Inherits:
-
Object
- Object
- Autotuner::RackPlugin
- Defined in:
- lib/autotuner/rack_plugin.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ RackPlugin
constructor
A new instance of RackPlugin.
Constructor Details
#initialize(app) ⇒ RackPlugin
Returns a new instance of RackPlugin.
5 6 7 8 |
# File 'lib/autotuner/rack_plugin.rb', line 5 def initialize(app) @app = app @request_collector = RequestCollector.new end |