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