app/models/manageiq/providers/kubevirt/refresh_memory.rb
#
# Loads this data from persistent storage.
#
Loads this data from persistent storage.
Loads this data from persistent storage .
def load
    return unless File.exist?(file)
    text = File.read(file)
    json = JSON.parse(text)
    @lists = json[LISTS]
    @notices.clear
    @notices.merge(json[NOTICES])
  end
def load return unless File . exist? ( file ) text = File . read ( file ) json = JSON . parse ( text ) @lists = json [ LISTS ] @notices . clear @notices . merge ( json [ NOTICES ] ) end
Loads this data from persistent storage.
Loads this data from persistent storage .
# Load the JSON document: # Copy the relevant JSON data to the instance variables: