Class: TTY::Table::Border::Null
- Inherits:
-
TTY::Table::Border
- Object
- TTY::Table::Border
- TTY::Table::Border::Null
- Defined in:
- lib/tty/table/border/null.rb
Overview
A class that represents no border.
Instance Method Summary collapse
-
#bottom_line ⇒ Object
private
A stub bottom line.
-
#row_line ⇒ String
private
A line spanning all columns delemited by space character.
-
#separator ⇒ Object
private
A stub separator line.
-
#top_line ⇒ Object
private
A stub top line.
Methods inherited from TTY::Table::Border
Methods included from Unicode
#as_unicode, #clean_utf8, #utf8?
Constructor Details
This class inherits a constructor from TTY::Table::Border
Instance Method Details
#bottom_line ⇒ Object
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_line ⇒ String
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.
29 30 31 |
# File 'lib/tty/table/border/null.rb', line 29 def row_line row.join(' ') end |
#separator ⇒ Object
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_line ⇒ Object
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 |