struct Bool
Overview
Bool has only two possible values: true
and false
. They are constructed using these literals:
true # A Bool that is true
false # A Bool that is false
See Bool
literals in the language reference.
Defined in:
cannon/core_ext.crConstructors
-
.from_cannon_io(io) : self
Creates a
Bool
from io.
Instance Method Summary
-
#to_cannon_io(io)
Writes the
Bool
into io.