Sha256: 7ccf6edb27329f92d56221d18400ca877dc174255e4b8754288edeb9bcf0c12d
Contents?: true
Size: 402 Bytes
Versions: 3
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true require_relative '../../structs/history' module Umwelt::History::File class Restore < Umwelt::Abstract::File::Restore def initialize( path: '.umwelt', mapper: Umwelt::History::Mapper ) super end def call @struct = struct parse read full_path end def full_path umwelt_root_path / 'history.json' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
umwelt-0.2 | lib/umwelt/history/file/restore.rb |
umwelt-0.1.1 | lib/umwelt/history/file/restore.rb |
umwelt-0.1.0 | lib/umwelt/history/file/restore.rb |