Class: Thor::Shell::Color

Inherits:
Object
  • Object
show all
Defined in:
lib/bakist/cli.rb

Instance Method Summary collapse

Instance Method Details

#say(string, color = :WHITE, nl = true, prefix = true) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
# File 'lib/bakist/cli.rb', line 7

def say(string, color=:WHITE, nl=true, prefix=true)

  if prefix
    #super '★', :green, false
    super ' Bakist ', :white, false
    #super '★', :green, false
    super ':: ', :white, false
  end

  super(string, color, nl)
end