# File lib/cucumber/formatter/pretty.rb, line 197 def table_cell_value(value, status) return unless @table status ||= @status || :passed width = @table.col_width(@col_index) cell_text = value.to_s || '' padded = cell_text + (' ' * (width - cell_text.jlength)) prefix = cell_prefix(status) @io.print(' ' + format_string("#{prefix}#{padded}", status) + ::Term::ANSIColor.reset(" |")) @io.flush end