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