Class Boolean
The Boolean
class represents a value that is either true
or false
.
public define to_i: Integer
Convert a Boolean
to an Integer
. true
becomes 1
, false
becomes
0
.
public define to_s: String
Convert a Boolean
to a String
.