# File lib/rudy/cli/machines.rb, line 125 125: def disassociate_machines_valid? 126: @mlist = get_machines 127: @alist = Rudy::AWS::EC2::Addresses.list || [] 128: @alist_used = @alist.select { |a| a.associated? } 129: @alist_instids = @alist_used.collect { |a| a.instid } 130: @mlist_static = @mlist.select do |m| 131: @alist_instids.member?(m.instid) 132: end 133: raise NoMachines, current_group_name if @mlist.empty? 134: true 135: end