Method: Peddler::FlatFileParser#initialize

Defined in:
lib/peddler/flat_file_parser.rb

#initialize(res, encoding) ⇒ FlatFileParser

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of FlatFileParser.



13
14
15
16
17
# File 'lib/peddler/flat_file_parser.rb', line 13

def initialize(res, encoding)
  super(res)
  @encoding = encoding
  extract_content
end