Module: Boolean
- Defined in:
- lib/certainty.rb,
lib/certainty.rb
Overview
Certainty
Certainty provides Boolean
, an object that represents truth.
Instance Method Summary collapse
-
#to_bool ⇒ Object
(also: #to_b)
Returns the receiver.
Instance Method Details
#to_bool ⇒ Object Also known as: to_b
Returns the receiver. The truth of a boolean object is self-referential.
22 23 24 |
# File 'lib/certainty.rb', line 22 def to_bool self end |