Method: VMC::Cli::Config.clients
- Defined in:
- lib/cli/config.rb
.clients ⇒ Object
123 124 125 126 127 128 129 130 131 132 133 |
# File 'lib/cli/config.rb', line 123 def clients return @clients if @clients stock = YAML.load_file(STOCK_CLIENTS) if File.exists? CLIENTS_FILE user = YAML.load_file(CLIENTS_FILE) @clients = deep_merge(stock, user) else @clients = stock end end |