Class: Bricolage::SpreadsheetDataSource::RowFormatterFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/bricolage/spreadsheetdatasource.rb

Defined Under Namespace

Classes: CSVFormatter, JSONFormatter

Class Method Summary collapse

Class Method Details

.new_formatter(format) ⇒ Object



145
146
147
# File 'lib/bricolage/spreadsheetdatasource.rb', line 145

def self.new_formatter(format)
  const_get(format.upcase! + "Formatter").new
end