Class: CDMDEXER::StripSemicolonFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/cdmdexer/formatters.rb

Class Method Summary collapse

Class Method Details

.format(values) ⇒ Object



89
90
91
92
93
94
95
# File 'lib/cdmdexer/formatters.rb', line 89

def self.format(values)
  if values.respond_to?(:map)
    values.map {|value| value.gsub(/;/, '') }
  else
    values.gsub(/;/, '')
  end
end