Class: Asca::Tools::Log::Color

Inherits:
Object
  • Object
show all
Defined in:
lib/asca/tools/log.rb

Class Method Summary collapse

Class Method Details

.commandObject



26
27
28
# File 'lib/asca/tools/log.rb', line 26

def command
    "\e[34m"
end

.errorObject



18
19
20
# File 'lib/asca/tools/log.rb', line 18

def error
    "\e[31;1m"
end

.infoObject



14
15
16
# File 'lib/asca/tools/log.rb', line 14

def info
    "\e[32m"
end

.resetObject



22
23
24
# File 'lib/asca/tools/log.rb', line 22

def reset
    "\e[0m"
end

.timeObject



6
7
8
# File 'lib/asca/tools/log.rb', line 6

def time
    "\e[37m"
end

.warnObject



10
11
12
# File 'lib/asca/tools/log.rb', line 10

def warn
    "\e[33;1m"
end