Class: Memprof::Middleware
- Inherits:
-
Object
- Object
- Memprof::Middleware
- Defined in:
- lib/memprof/middleware.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, opts = {}) ⇒ Middleware
constructor
A new instance of Middleware.
Constructor Details
#initialize(app, opts = {}) ⇒ Middleware
Returns a new instance of Middleware.
4 5 6 7 |
# File 'lib/memprof/middleware.rb', line 4 def initialize(app, opts = {}) @app = app @options = opts end |