Method: Plywood::FancyLogger::FancyLog#status

Defined in:
lib/plywood/fancy_logger/fancy_log.rb

#statusObject



38
39
40
41
42
43
44
# File 'lib/plywood/fancy_logger/fancy_log.rb', line 38

def status
  case exit_status
  when nil then "running"
  when 0 then "success"
  else "failed (#{exit_status})"
  end
end