Module: CSVMagic
- Defined in:
- lib/csv_magic.rb,
lib/csv_magic/engine.rb,
lib/csv_magic/reader.rb,
lib/csv_magic/version.rb,
lib/csv_magic/importer.rb,
lib/csv_magic/csv_handler.rb,
lib/csv_magic/file_handler.rb,
lib/csv_magic/i18n_helpers.rb,
lib/csv_magic/controller_actions.rb
Defined Under Namespace
Modules: ControllerActions, I18nHelpers
Classes: Engine, FileHandler, Importer, InconsistentStateError, MissingFileContentsError, Reader
Constant Summary
collapse
- VERSION =
"0.3.3"
- CSV_HANDLER =
::CSV
- @@options =
{
:col_sep => ";",
:row_sep => :auto,
:quote_char => '"',
:converters => nil,
:unconverted_fields => nil,
:headers => false,
:return_headers => false,
:header_converters => nil,
:skip_blanks => false,
:force_quotes => false
}
Class Method Summary
collapse
Class Method Details
.options ⇒ Object
32
33
34
|
# File 'lib/csv_magic.rb', line 32
def self.options
@@options
end
|
.options=(options) ⇒ Object
36
37
38
|
# File 'lib/csv_magic.rb', line 36
def self.options=(options)
@@options = options
end
|