class CashWorker

Public Class Methods

worker_ip(subpath) click to toggle source
# File lib/proboscis_cli.rb, line 95
def self.worker_ip(subpath)
  key = "#{subpath.gsub('_', '-')}_WORKER_IP"
  puts @infra_info
  if(!@infra_info[key])
    puts "Unable to find target WORKER_IP in #{@infra_info}. Is the machine up?"
  end
  @infra_info[key]
end