struct Bool
- Bool
- Value
- Object
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:
ucl/to_ucl.crInstance Method Summary
-
#to_ucl(emit_type : String | UCL::Emitter = UCL::Encoder::DEFAULT_EMITTER) : String
Serializes
selfto UCL/JSON/YAML/MsgPack.
Instance Method Detail
Serializes self to UCL/JSON/YAML/MsgPack. See UCL.dump.