Class: Arxutils::Store::StoreCsv
- Inherits:
-
Object
- Object
- Arxutils::Store::StoreCsv
- Defined in:
- lib/arxutils/store/storecsv.rb
Instance Method Summary collapse
-
#initialize(hs) ⇒ StoreCsv
constructor
A new instance of StoreCsv.
Constructor Details
#initialize(hs) ⇒ StoreCsv
Returns a new instance of StoreCsv.
7 8 9 10 11 12 13 14 |
# File 'lib/arxutils/store/storecsv.rb', line 7 def initialize( hs ) @csv = CSV.open( hs[:csv_fname] , "w" , { :encoding => hs[:encoding], :headers => hs[:headers], :force_quotes => hs[:force_quotes], :write_headers => hs[:write_headers], } ) end |