Sha256: 458da2291d4f0bf310431211ea08912412b82972fee51cee58919b375e42bf0f
Contents?: true
Size: 500 Bytes
Versions: 12
Compression:
Stored size: 500 Bytes
Contents
# encoding: utf-8 module TTY class Table class Border # A class for a table row line chars manipulation class RowLine < Struct.new(:left, :center, :right) # Colorize characters with a given style # # @api public def colorize(border, style) colorized_chars = border.set_color(style, right, center, left) self.right, self.center, self.left = colorized_chars end end # RowLine end # Border end # Table end # TTY
Version data entries
12 entries across 12 versions & 2 rubygems