Sha256: 1d303f0d10d035473554de9b6313e92a9c33a311f748c9441814a3f368161082

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

module Umwelt::Project::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 / 'project.json'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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