class StrictYAML::Editor

Defined in:

strict-yaml/editor.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(document : Document) #

[View source]

Instance Method Detail

def insert(key : KeyType, value : ValueType) : Nil #

[View source]
def insert(keys : Enumerable(KeyType), value : ValueType) : Nil #

[View source]
def remove(key : KeyType) : Nil #

[View source]
def remove(keys : Enumerable(KeyType)) : Nil #

[View source]
def update(key : KeyType, value : ValueType) : Nil #

[View source]
def update(keys : Enumerable(KeyType), value : ValueType) : Nil #

[View source]