Sha256: 17a70028c57e237afbf1a3751fcbb9059d2cdf5217ddee3d5610acf5242f8ef8

Contents?: true

Size: 379 Bytes

Versions: 1

Compression:

Stored size: 379 Bytes

Contents

class RakeStatus
  def self.heading(what, status)
    if what == :run
      color = 30
      puts "\033[1;#{color}m$ %s \033[0m" % [status]
      return
    end
    puts "* %s" % [status]
  end

  def self.print(what, status)
    color = 32
    color = 31  if what == :error
    what = ""  if what == :info
    puts "\033[1;#{color}m  %-14s\033[0m %s" % [what, status]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aura-0.0.1.pre10 lib/aura/tasks/common.rb