Class: Gloo::Convert::NilClassToInteger
- Inherits:
-
Object
- Object
- Gloo::Convert::NilClassToInteger
- Defined in:
- lib/gloo/convert/nilclass_to_integer.rb
Instance Method Summary collapse
-
#convert(value) ⇒ Object
Convert a nil to a string.
Instance Method Details
#convert(value) ⇒ Object
Convert a nil to a string.
15 16 17 |
# File 'lib/gloo/convert/nilclass_to_integer.rb', line 15 def convert( value ) return 0 end |