Method: Blade::Runner::Tab#color
- Defined in:
- lib/blade/interface/runner/tab.rb
#color ⇒ Object
187 188 189 190 191 192 193 194 |
# File 'lib/blade/interface/runner/tab.rb', line 187 def color case state when "running" then colors.yellow when "finished" then colors.green when /fail/ then colors.red else colors.white end end |