struct

Bool

Inherits Value / Object

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.

Constructors

new(xml : XML::Node)
Source

Instance methods

to_xml(xml : XML::Builder) : Nil
Source
to_xml(io : IO, *, key : String | Nil = nil, indent : XMLT::IndentOptions = nil) : Nil
Source
to_xml(*, key : String | Nil = nil, indent : XMLT::IndentOptions = nil) : String
Source