lib/peddler/flat_file_parser.rb in peddler-1.2.0 vs lib/peddler/flat_file_parser.rb in peddler-1.3.0
- old
+ new
@@ -4,10 +4,10 @@
module Peddler
# @api private
class FlatFileParser < SimpleDelegator
# http://stackoverflow.com/questions/8073920/importing-csv-quoting-error-is-driving-me-nuts
- OPTIONS = { col_sep: "\t", quote_char: "\x00", headers: true }
+ OPTIONS = { col_sep: "\t", quote_char: "\x00", headers: true }.freeze
attr_reader :content, :summary, :encoding
def initialize(res, encoding)
super(res)