# File lib/rhc/config.rb, line 89 def [](key) raise KeyError("Please use RHC::Config.password to access the password config") if key == "password" # evaluate in cascading order configs = [@opts, @opts_config, @env_config, @local_config, @global_config, @defaults] result = nil configs.each do |conf| result = conf[key] if !conf.nil? break if !result.nil? end result end