Class | BZ2::Reader |
In: |
bz2.rb
|
Parent: | Object |
Uncompress the file and call the block for each line, where lines are separated by separator
Call Kernel#open(filename), and associate it a new BZ2::Reader. The bz2 object is passed as an argument to the block.
The object is closed at the end of the block
See new for small
Uncompress the file and reads the entire file as individual lines, and returns those lines in an array. Lines are separated by separator
Execute the block for each line, where lines are separated by the optional separator
Terminate the uncompression of the current zip component, and keep the bz2 active (to read another zip component)