Serialize messages as YAML
Dump data as YAML and writes it to path.
# File lib/maildir/serializer/yaml.rb, line 12 def dump(data, path) super(data.to_yaml, path) end
Read data from path and parse it as YAML.
# File lib/maildir/serializer/yaml.rb, line 7 def load(path) ::YAML.load(super(path)) end