Class: Terminal::Table::UnicodeRoundBorder

Inherits:
UnicodeBorder show all
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

Methods inherited from UnicodeBorder

#horizontal, #vertical

Methods inherited from Border

#[], #[]=, #initialize_dup, #maybeleft, #mayberight, #remove_horizontals, #remove_verticals

Constructor Details

#initializeUnicodeRoundBorder

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