Class: Rack::Ketai::Middleware
- Inherits:
-
Object
- Object
- Rack::Ketai::Middleware
- Defined in:
- lib/rack/ketai/middleware.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, options) ⇒ Middleware
constructor
A new instance of Middleware.
Constructor Details
#initialize(app, options) ⇒ Middleware
Returns a new instance of Middleware.
5 6 7 8 |
# File 'lib/rack/ketai/middleware.rb', line 5 def initialize(app, ) @app = app @options = .dup.clone end |