Class: Angelo::Base::ChunkedResponse
- Inherits:
-
Object
- Object
- Angelo::Base::ChunkedResponse
- Defined in:
- lib/angelo/base.rb
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(&block) ⇒ ChunkedResponse
constructor
A new instance of ChunkedResponse.
Constructor Details
#initialize(&block) ⇒ ChunkedResponse
Returns a new instance of ChunkedResponse.
451 452 453 |
# File 'lib/angelo/base.rb', line 451 def initialize &block @chunker = block end |
Instance Method Details
#each(&block) ⇒ Object
455 456 457 |
# File 'lib/angelo/base.rb', line 455 def each &block @chunker[block] end |