class StrictYAML::Document

Defined in:

strict-yaml/document.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(nodes : Array(Node), preserved : Bool) #

[View source]

Instance Method Detail

def core_type : CoreType #

[View source]
def edit(& : Editor -> _) : Nil #

[View source]
def nodes : Array(Node) #

[View source]
def preserved? : Bool #

[View source]
def to_any : Any #

[View source]
def to_s(io : IO) : Nil #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]
def version : String #

[View source]