Sha256: b00129bd86fe31c9d3068b6fdb940829181a5eca94287f90e75d96c99b5e20c0

Contents?: true

Size: 661 Bytes

Versions: 4

Compression:

Stored size: 661 Bytes

Contents

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

module TTY
  class Table
    class Border

      # A class that represents an ascii border.
      class ASCII < 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 # ASCII
    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/ascii.rb
tty-0.0.10 lib/tty/table/border/ascii.rb
tty-0.0.9 lib/tty/table/border/ascii.rb
tty-0.0.8 lib/tty/table/border/ascii.rb