Class: IO
- Inherits:
-
Object
- Object
- IO
- Defined in:
- lib/io-segmenter/core_ext/io.rb
Instance Method Summary collapse
Instance Method Details
#each_segment(*args, max_read_size, &block) ⇒ Object
2 3 4 |
# File 'lib/io-segmenter/core_ext/io.rb', line 2 def each_segment(*args, max_read_size, &block) IOSegmenter::Reader.new(self, IOSegmenter::Parser.new(*args), max_read_size).each(&block) end |