Sha256: b2a453bd35b32dd9f949f21e28bec304d4b350fe7bb889a06377ea04559ac385

Contents?: true

Size: 613 Bytes

Versions: 7

Compression:

Stored size: 613 Bytes

Contents

module PoolParty
  module Display
    
    def pool_describe(options={})
      if pools.size > 0
        pools.each do |k,v|
          print v.pretty_print
        end
      else
        prev = "\t"
        clouds.each do |name, cl|
          puts cl.pretty_name(prev*2, cl)
          puts cl.pretty_options(prev*2, cl) #cl.pretty_print("#{prev}\t")
        end
      end

      puts ""
      pools.size
    end
    
    def available_bases
      puts Remote.available_bases
    end
    
    def header(str="")
      "*** #{str}"
    end
    
    def subheader(str="")
      "****** #{str}"
    end
    
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
auser-poolparty-0.2.3 lib/poolparty/helpers/display.rb
auser-poolparty-0.2.4 lib/poolparty/helpers/display.rb
auser-poolparty-0.2.5 lib/poolparty/helpers/display.rb
auser-poolparty-0.2.6 lib/poolparty/helpers/display.rb
auser-poolparty-0.2.8 lib/poolparty/helpers/display.rb
auser-poolparty-0.2.9 lib/poolparty/helpers/display.rb
poolparty-0.2.6 lib/poolparty/helpers/display.rb