# File lib/rudy/cli/images.rb, line 6 6: def bundle_valid? 7: raise "No S3 bucket provided. See rudy bundle -h" unless @@global.bucket 8: raise "No image name provided. See rudy bundle -h" unless @argv.name 9: 10: @machines = Rudy::Machines.list 11: raise "No machines" if @machines.nil? 12: 13: @machines = @machines.select { |m| m.windows? } 14: raise "No Windows machines" if @machines.nil? 15: 16: true 17: end