Class: TTY::Table::Border::Null

Inherits:
TTY::Table::Border show all
Defined in:
lib/tty/table/border/null.rb

Overview

A class that represents no border.

Instance Method Summary collapse

Methods inherited from TTY::Table::Border

#[], def_border, #initialize

Methods included from Unicode

#as_unicode, #clean_utf8, #utf8?

Constructor Details

This class inherits a constructor from TTY::Table::Border

Instance Method Details

#bottom_lineObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

A stub bottom line



36
37
38
# File 'lib/tty/table/border/null.rb', line 36

def bottom_line
  nil
end

#row_lineString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

A line spanning all columns delemited by space character.

Returns:

  • (String)


29
30
31
# File 'lib/tty/table/border/null.rb', line 29

def row_line
  row.join(' ')
end

#separatorObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

A stub separator line



20
21
22
# File 'lib/tty/table/border/null.rb', line 20

def separator
  nil
end

#top_lineObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

A stub top line



13
14
15
# File 'lib/tty/table/border/null.rb', line 13

def top_line
  nil
end