lib/dech/csv.rb in dech-0.0.4 vs lib/dech/csv.rb in dech-0.0.5

- old
+ new

@@ -5,9 +5,13 @@ module Dech class CSV < StringIO DEFAULT_ENCODING = Encoding::Windows_31J + HEADER_MAPPINGS = {} + REQUIRED_HEADERS = [] + STATIC_COLUMNS = {} + def initialize(array, args={}) @array = array @option = {} @option[:headers] = args[:headers] != false @option[:encoding] = args[:encoding] || DEFAULT_ENCODING