Module: Pork::Color

Defined in:
lib/pork/more/color.rb

Instance Method Summary collapse

Instance Method Details

#case_errored(msg = 'E') ⇒ Object



8
# File 'lib/pork/more/color.rb', line 8

def case_errored msg='E'; super(red    {msg}); end

#case_failed(msg = 'F') ⇒ Object



7
# File 'lib/pork/more/color.rb', line 7

def case_failed  msg='F'; super(magenta{msg}); end

#case_skip(msg = 's') ⇒ Object



6
# File 'lib/pork/more/color.rb', line 6

def case_skip    msg='s'; super(yellow {msg}); end