Class: Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/xcodeci/logger.rb

Instance Method Summary collapse

Instance Method Details

#koObject



5
6
7
# File 'lib/xcodeci/logger.rb', line 5

def ko
  "✘".red
end

#log_result(status, description) ⇒ Object



9
10
11
# File 'lib/xcodeci/logger.rb', line 9

def log_result(status, description)
  status ? "  [ #{ok} ] #{description}" : "  [ #{ko} ] #{description}"
end

#okObject



2
3
4
# File 'lib/xcodeci/logger.rb', line 2

def ok
  "✔︎".green
end