Method: Tofu::ChunkedStream#initialize
- Defined in:
- lib/tofu.rb
#initialize(stream) ⇒ ChunkedStream
Returns a new instance of ChunkedStream.
591 592 593 594 595 |
# File 'lib/tofu.rb', line 591 def initialize(stream) @data = nil @cursor = 0 @stream = stream end |