Class: Dragonfly::FileDataStore::MarshalMetaStore
- Defined in:
- lib/dragonfly/file_data_store.rb
Instance Method Summary collapse
Methods inherited from MetaStore
Instance Method Details
#dump(meta) ⇒ Object
63 64 65 |
# File 'lib/dragonfly/file_data_store.rb', line 63 def dump() Marshal.dump() end |
#load(string) ⇒ Object
67 68 69 |
# File 'lib/dragonfly/file_data_store.rb', line 67 def load(string) Utils.stringify_keys Marshal.load(string) end |
#meta_path(data_path) ⇒ Object
59 60 61 |
# File 'lib/dragonfly/file_data_store.rb', line 59 def (data_path) "#{data_path}.meta" end |