Class: Gloo::Convert::StringToDecimal
- Inherits:
-
Object
- Object
- Gloo::Convert::StringToDecimal
- Defined in:
- lib/gloo/convert/string_to_decimal.rb
Instance Method Summary collapse
-
#convert(value) ⇒ Object
Convert the given string value to an integer.
Instance Method Details
#convert(value) ⇒ Object
Convert the given string value to an integer.
14 15 16 |
# File 'lib/gloo/convert/string_to_decimal.rb', line 14 def convert( value ) return value.to_f end |