class Maildir::Serializer::YAML

Overview

Serialize messages as YAML

Defined in:

serializer/yaml.cr

Instance Method Summary

Instance methods inherited from class Maildir::Serializer::Base

dump(data, path) dump, load(path) load

Instance Method Detail

def dump(data, path) #

Dump data as YAML and writes it to path.


[View source]
def load(path) #

Read data from path and parse it as YAML.


[View source]