Class: Rack::Chunked
- Inherits:
-
Object
- Object
- Rack::Chunked
- Includes:
- Utils
- Defined in:
- lib/mizuno/rack/chunked.rb
Defined Under Namespace
Classes: Body
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ Chunked
constructor
A new instance of Chunked.
Constructor Details
#initialize(app) ⇒ Chunked
Returns a new instance of Chunked.
27 28 29 |
# File 'lib/mizuno/rack/chunked.rb', line 27 def initialize(app) @app = app end |
Instance Method Details
#call(env) ⇒ Object
31 32 33 |
# File 'lib/mizuno/rack/chunked.rb', line 31 def call(env) @app.call(env) end |