Sha256: de69dade8b3bc3aa43842ce44843fe0c8bee44f92757ac139ed06b5854e2f4e0
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) mkpath full_path.dirname full_path.write serialize destruct struct 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.1.0 | lib/umwelt/history/file/store.rb |