Methods

Class/Module Index [+]

Quicksearch

Rudy::CLI::AWS::EC2::Info

Public Instance Methods

info() click to toggle source
# File lib/rudy/cli/aws/ec2/info.rb, line 8
def info
  process_region @@global.region
  oregions = Rudy::AWS::VALID_REGIONS - [@@global.region.to_sym]
  if @option.all
    oregions.each do |region| 
      Rudy::AWS::EC2.connect @@global.accesskey, @@global.secretkey, region
      process_region region
    end
  else
    li $/, "Other regions: " << oregions.join(', ')
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.