lib/tty/table/border/ascii.rb in tty-table-0.11.0 vs lib/tty/table/border/ascii.rb in tty-table-0.12.0

- old
+ new

@@ -1,32 +1,32 @@ # frozen_string_literal: true -require_relative '../border' +require_relative "../border" module TTY class Table class Border # A class that represents an ascii border. # # @api private 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 '|' + 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