Class: CDMDEXER::JoinFormatter

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

Class Method Summary collapse

Class Method Details

.format(value) ⇒ Object



116
117
118
# File 'lib/cdmdexer/formatters.rb', line 116

def self.format(value)
  (value.respond_to?(:join)) ? value.join('; ') : value
end