Sha256: 484dd69bb4a124faab5040f992f732613de231b1ad54eeefec7b1f662da35eba

Contents?: true

Size: 759 Bytes

Versions: 3

Compression:

Stored size: 759 Bytes

Contents

# encoding: utf-8

#require 'tty/table/border'
require_relative '../border'

module TTY
  class Table
    class Border
      # A class that represents a unicode border.
      #
      # @api private
      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

3 entries across 3 versions & 1 rubygems

Version Path
tty-table-0.10.0 lib/tty/table/border/unicode.rb
tty-table-0.9.0 lib/tty/table/border/unicode.rb
tty-table-0.8.0 lib/tty/table/border/unicode.rb