tests/vendor/ceedling/lib/configurator_validator.rb
# walk into config hash verify existence of data at key depth
walk into config hash verify existence of data at key depth
walk into config hash verify existence of data at key depth
def exists?(config, *keys)
    hash  = retrieve_value(config, keys)
    exist = !hash[:value].nil?
    if (not exist)
      @stream_wrapper.stderr_puts("ERROR: Required config file entry #{format_key_sequence(keys, hash[:depth])} does not exist.")    
    end
    return exist
  end
def exists? ( config , * keys ) hash = retrieve_value ( config , keys ) exist = ! hash [ :value ] . nil? if ( not exist ) @stream_wrapper . stderr_puts ( "ERROR: Required config file entry #{format_key_sequence(keys, hash[:depth])} does not exist." ) end return exist end
walk into config hash verify existence of data at key depth
walk into config hash verify existence of data at key depth
# no verbosity checking since this is lowest level anyhow & verbosity checking depends on configurator
config
keys