class Umwelt::Project::File::Restore
Public Class Methods
new( path: '.umwelt', mapper: Umwelt::Project::Mapper )
click to toggle source
Calls superclass method
Umwelt::Abstract::File::Restore::new
# File lib/umwelt/project/file/restore.rb, line 7 def initialize( path: '.umwelt', mapper: Umwelt::Project::Mapper ) super end
Public Instance Methods
call()
click to toggle source
# File lib/umwelt/project/file/restore.rb, line 14 def call @struct = struct parse read full_path end
full_path()
click to toggle source
# File lib/umwelt/project/file/restore.rb, line 18 def full_path umwelt_root_path / 'project.json' end