Class: CDMDEXER::StripFormatter
- Inherits:
-
Object
- Object
- CDMDEXER::StripFormatter
- Defined in:
- lib/cdmdexer/formatters.rb
Class Method Summary collapse
Class Method Details
.format(values) ⇒ Object
99 100 101 102 103 104 105 106 |
# File 'lib/cdmdexer/formatters.rb', line 99 def self.format(values) return '' if values.nil? if values.respond_to?(:map) values.map {|value| value.strip } else values.strip end end |