class TTY::Table::Border::RowLine

A class for a table row line chars manipulation

Public Instance Methods

colorize(border, style) click to toggle source

@api public

# File lib/tty/table/border/row_line.rb, line 10
def colorize(border, style)
  colorized_chars = border.set_color(style, right, center, left)
  self.right, self.center, self.left = colorized_chars
end