Class: Savagery::Middleware
- Inherits:
-
Struct
- Object
- Struct
- Savagery::Middleware
- Defined in:
- lib/savagery/middleware.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
Instance Method Summary collapse
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app
2 3 4 |
# File 'lib/savagery/middleware.rb', line 2 def app @app end |
Instance Method Details
#call(*args) ⇒ Object
3 4 5 6 |
# File 'lib/savagery/middleware.rb', line 3 def call *args sprite! app.call *args end |