Class: FalseClass
Constant Summary
Constants included from Bool
Bool::FALSE_VALUES, Bool::TRUE_VALUES
Class Method Summary collapse
-
.zero ⇒ Object
note: include Bool does NOT include module function (e.g. self.zero, etc.) todo/check/discuss - also include self.parse - why? why not?.
Instance Method Summary collapse
Methods included from Bool
convert, parse, #parse_bool, #to_b
Class Method Details
.zero ⇒ Object
note: include Bool does NOT include module function (e.g. self.zero, etc.)
todo/check/discuss - also include self.parse - why? why not?
61 |
# File 'lib/safebool.rb', line 61 def self.zero() false; end |
Instance Method Details
#to_i ⇒ Object
57 |
# File 'lib/safebool.rb', line 57 def to_i() 0; end |
#zero? ⇒ Boolean
56 |
# File 'lib/safebool.rb', line 56 def zero?() true; end |