Class: Ki::KiJSONHashFile

Inherits:
KiJSONFile show all
Includes:
Enumerable
Defined in:
lib/data_storage/ki_json.rb

Overview

Base implementation Json hash file

Inheriting classes should implement their values using CachedMapDataAccessor

class VersionMetadataFile < KiJSONHashFile {
  attr_chain :source, -> { Hash.new }, :accessor => CachedData

Direct Known Subclasses

UserPrefFile, VersionMetadataFile

Defined Under Namespace

Classes: CachedMapDataAccessor

Constant Summary collapse

CachedData =
CachedMapDataAccessor.new

Method Summary

Methods included from KiEnumerable

#any_matches?, #find_first, #size!, #to_h

Methods inherited from KiJSONFile

#edit_data, #load_data_from_file, load_json, #reset_cached_data, #save, #size

Methods inherited from DirectoryBase

#child, #empty?, #exists?, find!, #go, #init_from_path, #initialize, #ki_path, #mkdir, #name, #path, #root, #root?

Constructor Details

This class inherits a constructor from Ki::DirectoryBase