Class: CDMBL::JoinFormatter
- Inherits:
-
Object
- Object
- CDMBL::JoinFormatter
- Defined in:
- lib/cdmbl/formatters.rb
Class Method Summary collapse
Class Method Details
.format(value) ⇒ Object
122 123 124 |
# File 'lib/cdmbl/formatters.rb', line 122 def self.format(value) (value.respond_to?(:join)) ? value.join('; ') : value end |