lib/parse_structured_files/plain_text.rb
# Executes the block for every line of the file
#
# @param block [Proc]
# @return [ParseFile]
Executes the block for every line of the file
Executes the block for every line of the file
def each(&block)
      @file.rewind
      @file.each do | line |
        parse(line).do_with_line(&block)
      end
      self
    end
def each ( & block ) @file . rewind @file . each do | line | parse ( line ) . do_with_line ( & block ) end self end
Executes the block for every line of the file
Executes the block for every line of the file
None
ParseFile
block
None