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:

strict-yaml/objects.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

to_yaml(io : IO) : Nil
to_yaml : String
to_yaml

Class methods inherited from class Object

from_yaml(source : String)
from_yaml(value : StrictYAML::Any)
from_yaml

Constructor Detail

def self.new(value : StrictYAML::Any) #

[View source]

Instance Method Detail

def to_yaml(yaml : StrictYAML::Builder) : Nil #

[View source]