Class Boolean

(builtin) class Boolean {  }

The Boolean class represents a value that is either true or false.

Methods

define to_i: Integer

Convert a Boolean to an Integer. true becomes 1, false becomes 0.

define to_s: String

Convert a Boolean to a String.