Method: TTY::Table::Border::RowLine#colorize

Defined in:
lib/tty/table/border/row_line.rb

#colorize(border, style) ⇒ Object

Colorize characters with a given style



11
12
13
14
15
# File 'lib/tty/table/border/row_line.rb', line 11

def colorize(border, style)
  self.right = border.set_color(style, right)
  self.center = border.set_color(style, center)
  self.left = border.set_color(style, left)
end