Sha256: f3f5d7e9de541a51bc19148701431d995b081fdb220fbb6fb94cee4e137807ea

Contents?: true

Size: 722 Bytes

Versions: 1

Compression:

Stored size: 722 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'         => '|',
          'right'        => '|'
        }
        end

      end # ASCII
    end # Border
  end # Table
end # TTY

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tty-0.0.7 lib/tty/table/border/ascii.rb