Module: Boolean

Defined in:
lib/certainty.rb,
lib/certainty.rb

Overview

Certainty

Certainty provides Boolean, an object that represents truth.

Instance Method Summary collapse

Instance Method Details

#to_boolObject 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