20 lines
393 B
Ruby
20 lines
393 B
Ruby
require_relative './excel2csv'
|
|
|
|
module CartoDB
|
|
module Importer2
|
|
class Xls2Csv < Excel2Csv
|
|
|
|
SUPPORTED_EXTENSION = 'xls'
|
|
|
|
def self.supported?(extension)
|
|
extension == ".#{SUPPORTED_EXTENSION}"
|
|
end
|
|
|
|
def initialize(filepath, job = nil, importer_config = nil)
|
|
super(SUPPORTED_EXTENSION, filepath, job, nil, importer_config)
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|