# File lib/rudy/cli/machines.rb, line 29 29: def machines_wash 30: mlist = get_machines 31: dirt = mlist.select { |m| !m.instance_running? } 32: 33: if dirt.empty? 34: li "Nothing to wash in #{current_machine_group}" 35: return 36: end 37: 38: li "The following machine metadata will be deleted:".bright 39: li dirt.collect {|m| m.name.bright } 40: execute_check(:medium) 41: 42: dirt.each do |m| 43: m.destroy 44: end 45: 46: end