Sha256: 179f0c2c41f81cfbaa42d2a8923f34f0a4a271b1d5c132a4f2416daeec198127

Contents?: true

Size: 517 Bytes

Versions: 16

Compression:

Stored size: 517 Bytes

Contents

module Mccloud
  module Command
    def flavors()  
      puts ""
      puts "Available flavors"
      provider=@provider.config.providers.first[1]
      flavors=provider.flavors
      formatting="%-12s %-35s %-6s %-6s %-6s %-6s\n"
      printf formatting,"id","name","bits","cores","disk", "ram"
      80.times { |i| printf "=" } ; puts

      flavors.each  do |flavor|
        printf formatting,flavor.id,flavor.name[0..34],flavor.bits,flavor.cores,flavor.disk, flavor.ram
      end

    end #def
  end #module
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mccloud-0.1.1 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.28 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.27 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.26 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.25 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.24 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.23 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.22 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.21 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.20 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.19 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.18 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.17 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.16 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.15 lib/mccloud/provider/aws/provider/old_flavors.rb
mccloud-0.0.14 lib/mccloud/provider/aws/provider/old_flavors.rb