Class: Gloo::Convert::FalseClassToInteger

Inherits:
Object
  • Object
show all
Defined in:
lib/gloo/convert/falseclass_to_integer.rb

Instance Method Summary collapse

Instance Method Details

#convert(value) ⇒ Object

Convert the given FALSE value to an integer.



14
15
16
# File 'lib/gloo/convert/falseclass_to_integer.rb', line 14

def convert( value )
  return 0
end