Class: TrueClass
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.).
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.)
71 |
# File 'lib/safebool.rb', line 71 def self.zero() false; end |
Instance Method Details
#to_i ⇒ Object
68 |
# File 'lib/safebool.rb', line 68 def to_i() 1; end |
#zero? ⇒ Boolean
67 |
# File 'lib/safebool.rb', line 67 def zero?() false; end |