class Dragonfly::FileDataStore::YAMLMetaStore

Public Instance Methods

dump(meta) click to toggle source
# File lib/dragonfly/file_data_store.rb, line 49
def dump(meta)
  YAML.dump(meta)
end
load(string) click to toggle source
# File lib/dragonfly/file_data_store.rb, line 53
def load(string)
  YAML.load(string)
end
meta_path(data_path) click to toggle source
# File lib/dragonfly/file_data_store.rb, line 45
def meta_path(data_path)
  "#{data_path}.meta.yml"
end