Sha256: 3911f102a0dd97e299de8b6c216c49d30bb0ac0b3bdcbcc94accda0ec7685087

Contents?: true

Size: 681 Bytes

Versions: 4

Compression:

Stored size: 681 Bytes

Contents

# -*- encoding: utf-8 -*-

module TTY
  class Table
    class Border

      # A class that represents a unicode border.
      class Unicode < Border

        def_border do
          top          '─'
          top_mid      '┬'
          top_left     '┌'
          top_right    '┐'
          bottom       '─'
          bottom_mid   '┴'
          bottom_left  '└'
          bottom_right '┘'
          mid          '─'
          mid_mid      '┼'
          mid_left     '├'
          mid_right    '┤'
          left         '│'
          center       '│'
          right        '│'
        end

      end # Unicode
    end # Border
  end # Table
end # TTY

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tty-0.0.11 lib/tty/table/border/unicode.rb
tty-0.0.10 lib/tty/table/border/unicode.rb
tty-0.0.9 lib/tty/table/border/unicode.rb
tty-0.0.8 lib/tty/table/border/unicode.rb