Module: Inkscape::Merge::DataParser
- Defined in:
- lib/inkscape_merge/data_parsers.rb
Overview
:nodoc:
Defined Under Namespace
Classes: CSV
Class Method Summary collapse
-
.detect(options) ⇒ Object
Detect, which parser to use for given input file.
Class Method Details
.detect(options) ⇒ Object
Detect, which parser to use for given input file
18 19 20 21 22 23 |
# File 'lib/inkscape_merge/data_parsers.rb', line 18 def self.detect() case .data_file when /.csv$/i return ::Inkscape::Merge::DataParser::CSV.new(.data_file, .) end end |