Class: Cuba::Tools::Widget::Middleware
- Defined in:
- lib/cuba/tools/widget/middleware.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ Middleware
constructor
A new instance of Middleware.
Constructor Details
#initialize(app) ⇒ Middleware
Returns a new instance of Middleware.
4 5 6 |
# File 'lib/cuba/tools/widget/middleware.rb', line 4 def initialize(app) @app = app end |