Class: Umwelt::History::File::Store
- Inherits:
-
Abstract::File::Store
- Object
- Abstract::Interactor
- 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
Methods inherited from Abstract::Interactor
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) count = write(full_path, struct) @written_paths[full_path] = count 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 |