Class: IOP::IOSegmentReader
- Inherits:
-
Object
- Object
- IOP::IOSegmentReader
- Includes:
- BufferingFeed
- Defined in:
- lib/iop/file.rb
Instance Attribute Summary
Attributes included from Feed
Instance Method Summary collapse
-
#initialize(io, block_size: DEFAULT_BLOCK_SIZE) ⇒ IOSegmentReader
constructor
A new instance of IOSegmentReader.
Methods included from BufferingFeed
Methods included from Feed
Constructor Details
#initialize(io, block_size: DEFAULT_BLOCK_SIZE) ⇒ IOSegmentReader
Returns a new instance of IOSegmentReader.
197 198 199 200 |
# File 'lib/iop/file.rb', line 197 def initialize(io, block_size: DEFAULT_BLOCK_SIZE) @io = io @block_size = block_size end |