Class: Terminal::Table::UnicodeRoundBorder
- Inherits:
-
UnicodeBorder
- Object
- Border
- UnicodeBorder
- Terminal::Table::UnicodeRoundBorder
- Defined in:
- lib/terminal-table/style.rb
Overview
Unicode Border With rounded edges
Constant Summary
Constants inherited from UnicodeBorder
Terminal::Table::UnicodeBorder::ALLOWED_SEPARATOR_BORDER_STYLES, Terminal::Table::UnicodeBorder::HORIZONTALS, Terminal::Table::UnicodeBorder::INTERSECTIONS, Terminal::Table::UnicodeBorder::VERTICALS
Instance Attribute Summary
Attributes inherited from Border
#bottom, #data, #left, #right, #top
Instance Method Summary collapse
-
#initialize ⇒ UnicodeRoundBorder
constructor
A new instance of UnicodeRoundBorder.
Methods inherited from UnicodeBorder
Methods inherited from Border
#[], #[]=, #initialize_dup, #maybeleft, #mayberight, #remove_horizontals, #remove_verticals
Constructor Details
#initialize ⇒ UnicodeRoundBorder
Returns a new instance of UnicodeRoundBorder.
144 145 146 147 |
# File 'lib/terminal-table/style.rb', line 144 def initialize super @data.merge!({nw: '╭', ne: '╮', sw: '╰', se: '╯'}) end |