Method: Zip::ZipFileSystem::ZipFsFile#foreach
- Defined in:
- lib/ruby_archive/handlers/rubyzip/zip/zipfilesystem.rb
#foreach(fileName, aSep = $/, &aProc) ⇒ Object
391 392 393 |
# File 'lib/ruby_archive/handlers/rubyzip/zip/zipfilesystem.rb', line 391 def foreach(fileName, aSep = $/, &aProc) open(fileName) { |is| is.each_line(aSep, &aProc) } end |