class Ki::VersionStatusFile

Public Instance Methods

add_status(key, value, flags={}) click to toggle source
# File lib/data_storage/version_metadata.rb, line 148
def add_status(key, value, flags={})
  add_item({"key" => key, "value" => value}.merge(flags))
end
matching_statuses(key) click to toggle source
# File lib/data_storage/version_metadata.rb, line 152
def matching_statuses(key)
  cached_data.select { |hash| hash["key"].match(key) }
end