Module: CovaLog

Included in:
Cova
Defined in:
lib/covalog.rb

Instance Method Summary collapse

Instance Method Details

#_log_block_errorObject



43
44
45
46
47
48
49
# File 'lib/covalog.rb', line 43

def _log_block_error
	puts
	print "=" * 8
	print " FAILED ".red
	puts "=" * 8
	puts
end

#_log_block_start(msg) ⇒ Object



27
28
29
30
31
32
33
# File 'lib/covalog.rb', line 27

def _log_block_start(msg)
	puts
	print "=" * 3
	print " " + msg + " "
	puts "=" * 3
	puts
end

#_log_block_successObject



35
36
37
38
39
40
41
# File 'lib/covalog.rb', line 35

def _log_block_success
	puts
	print "=" * 9
	print " SUCCESS ".green
	puts "=" * 9
	puts
end

#_log_info(msg) ⇒ Object



21
22
23
24
25
# File 'lib/covalog.rb', line 21

def _log_info(msg)
	puts
	puts msg
	puts
end

#_log_line(msg) ⇒ Object



3
4
5
# File 'lib/covalog.rb', line 3

def _log_line(msg)
	print msg + "  ...  "
end

#_log_line_errorObject



14
15
16
17
18
19
# File 'lib/covalog.rb', line 14

def _log_line_error
	print "["
	print "FAIL".red
	print "]"
	puts
end

#_log_line_okObject



7
8
9
10
11
12
# File 'lib/covalog.rb', line 7

def _log_line_ok
	print "[ "
	print "OK".green
	print " ]"
	puts
end