class Sunstore::Handler::YAML

Public Instance Methods

deserialize(txt) click to toggle source
# File lib/sunstore/handlers/yaml.rb, line 8
def deserialize(txt)
  Psych.load(txt)
end
serialize(h) click to toggle source
# File lib/sunstore/handlers/yaml.rb, line 4
def serialize(h)
    h.to_yaml
end
type() click to toggle source
# File lib/sunstore/handlers/yaml.rb, line 12
def type
  "yaml"
end