Sha256: 01e8c5a3b35f191c2b52b68d1b7881a63317b6afc00702a79c73756ffaf6b502

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

module Umwelt::History::File
  class Store < Umwelt::Abstract::File::Store
    def call(struct)
      count = write(full_path, struct)

      @written_paths[full_path] = count
    end

    def full_path
      umwelt_root_path / 'history.json'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
umwelt-0.2 lib/umwelt/history/file/store.rb