Class: Umwelt::Project::File::Restore
- Inherits:
-
Abstract::File::Restore
- Object
- Abstract::Interactor
- Abstract::File::Restore
- Umwelt::Project::File::Restore
- Defined in:
- lib/umwelt/project/file/restore.rb
Instance Method Summary collapse
- #call ⇒ Object
- #full_path ⇒ Object
-
#initialize(path: '.umwelt', mapper: Umwelt::Project::Mapper) ⇒ Restore
constructor
A new instance of Restore.
Methods inherited from Abstract::Interactor
Constructor Details
Instance Method Details
#call ⇒ Object
14 15 16 |
# File 'lib/umwelt/project/file/restore.rb', line 14 def call @struct = struct parse read full_path end |
#full_path ⇒ Object
18 19 20 |
# File 'lib/umwelt/project/file/restore.rb', line 18 def full_path umwelt_root_path / 'project.json' end |