def to_h(strict: false)
      todo = @key_metadata.keys - @cache.keys
      todo.each_with_object({}) do |key, hsh|
        loaded_key = (strict ? load_key_strict(key) : load_key_lenient(key))
        hsh[key] = loaded_key if exists_locally?(key)
      end
    end
def to_h(strict: false)
      todo = @key_metadata.keys - @cache.keys
      todo.each_with_object({}) do |key, hsh|
        loaded_key = (strict ? load_key_strict(key) : load_key_lenient(key))
        hsh[key] = loaded_key if exists_locally?(key)
      end
    end
def to_h ( strict : false ) todo = @key_metadata . keys - @cache . keys todo . each_with_object ( { } ) do | key , hsh | loaded_key = ( strict ? load_key_strict ( key ) : load_key_lenient ( key ) ) hsh [ key ] = loaded_key if exists_locally? ( key ) end end
Create an internal model with a reference to a public model.
 @param key_metadata [KeyMetadataStore] a reference to a metadata store
 @param parent [LazyLazer] a reference to a LazyLazer model
 Converts all unconverted keys and packages them as a hash.
 @return [Hash] the converted hash
Create an internal model with a reference to a public model .