Class: CDMDEXER::ToIFormatter

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

Class Method Summary collapse

Class Method Details

.format(value) ⇒ Object



154
155
156
# File 'lib/cdmdexer/formatters.rb', line 154

def self.format(value)
  value.to_i if value.respond_to?(:to_i)
end