module Inkscape::Merge::DataParser
Public Class Methods
detect(options)
click to toggle source
Detect, which parser to use for given input file
# File lib/inkscape_merge/data_parsers.rb, line 18 def self.detect(options) case options.data_file when /.csv$/i return ::Inkscape::Merge::DataParser::CSV.new(options.data_file, options.csv_options) end end