Class: CDMBL::ToIFormatter

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

Class Method Summary collapse

Class Method Details

.format(value) ⇒ Object



160
161
162
# File 'lib/cdmbl/formatters.rb', line 160

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