Class: Dragonfly::FileDataStore::YAMLMetaStore
- Defined in:
- lib/dragonfly/file_data_store.rb
Instance Method Summary collapse
Methods inherited from MetaStore
Instance Method Details
#dump(meta) ⇒ Object
49 50 51 |
# File 'lib/dragonfly/file_data_store.rb', line 49 def dump() YAML.dump() end |
#load(string) ⇒ Object
53 54 55 |
# File 'lib/dragonfly/file_data_store.rb', line 53 def load(string) YAML.load(string) end |
#meta_path(data_path) ⇒ Object
45 46 47 |
# File 'lib/dragonfly/file_data_store.rb', line 45 def (data_path) "#{data_path}.meta.yml" end |