Method: CDMBL::StripFormatter.format
- Defined in:
- lib/cdmbl/formatters.rb
.format(values) ⇒ Object
105 106 107 108 109 110 111 112 |
# File 'lib/cdmbl/formatters.rb', line 105 def self.format(values) return '' if values.nil? if values.respond_to?(:map) values.map {|value| value.strip } else values.strip end end |