class KYAML::Emitter

Overview

Renders KYAML values (KYAML::Any::Type union) as KYAML spec-compliant text.

Defined in:

kyaml/emitter.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : KYAML::Any) ==

Instance methods inherited from class Object

to_kyaml(io : IO) : Nil
to_kyaml(builder : KYAML::Builder) : Nil
to_kyaml : String
to_kyaml

Constructor Detail

def self.new(io : IO, comments : ClassifiedComments = ClassifiedComments.new) #

[View source]

Instance Method Detail

def emit(value : KYAML::Any::Type, source : YAML::Nodes::Node | Nil = nil) : Nil #

[View source]