Class: CashWorker
Class Method Summary collapse
Methods inherited from Worker
Methods inherited from Machine
Class Method Details
.worker_ip(subpath) ⇒ Object
95 96 97 98 99 100 101 |
# File 'lib/proboscis_cli.rb', line 95 def self.worker_ip(subpath) key = "#{subpath.gsub('_', '-')}_WORKER_IP" if(!@infra_info[key]) puts "Unable to find target WORKER_IP in #{@infra_info}. Is the machine up?" end @infra_info[key] end |