Class: Umwelt::History::File::Store
- Inherits:
-
Abstract::File::Store
- Object
- Abstract::File::Store
- Umwelt::History::File::Store
- Defined in:
- lib/umwelt/history/file/store.rb
Instance Method Summary collapse
Methods inherited from Abstract::File::Store
Constructor Details
This class inherits a constructor from Umwelt::Abstract::File::Store
Instance Method Details
#call(struct) ⇒ Object
5 6 7 8 9 |
# File 'lib/umwelt/history/file/store.rb', line 5 def call(struct) mkpath full_path.dirname full_path.write serialize destruct struct end |
#full_path ⇒ Object
11 12 13 |
# File 'lib/umwelt/history/file/store.rb', line 11 def full_path umwelt_root_path / 'history.json' end |