class TTY::Table::Border::Null

A class that represents no border.

Public Instance Methods

bottom_line() click to toggle source

A stub bottom line

@api private

Calls superclass method TTY::Table::Border#bottom_line
# File lib/tty/table/border/null.rb, line 32
def bottom_line
  border_options ? super : nil
end
separator() click to toggle source

A stub separator line

@api private

Calls superclass method TTY::Table::Border#separator
# File lib/tty/table/border/null.rb, line 24
def separator
  return [] if border_options.separator == EACH_ROW
  border_options ? super : nil
end
top_line() click to toggle source

A stub top line

@api private

Calls superclass method TTY::Table::Border#top_line
# File lib/tty/table/border/null.rb, line 17
def top_line
  border_options ? super : nil
end