Class: FalseClass
- Inherits:
-
Object
- Object
- FalseClass
- Defined in:
- lib/casual_support/boolean/to_z.rb
Instance Method Summary collapse
-
#to_z ⇒ Integer
Returns 0 if
false
, 1 iftrue
.
Instance Method Details
#to_z ⇒ Integer
Returns 0 if false
, 1 if true
.
6 7 8 |
# File 'lib/casual_support/boolean/to_z.rb', line 6 def to_z 0 end |