Class: RubyTUI::Symbols::BorderSet
- Inherits:
-
Data
- Object
- Data
- RubyTUI::Symbols::BorderSet
- Defined in:
- lib/rubytui/symbols.rb
Overview
Immutable set of the glyphs used to draw a border.
Instance Attribute Summary collapse
-
#bottom_left ⇒ String
readonly
Bottom-left corner glyph.
-
#bottom_right ⇒ String
readonly
Bottom-right corner glyph.
-
#cross ⇒ String
readonly
Four-way junction glyph.
-
#horizontal ⇒ String
readonly
Horizontal line glyph.
-
#tee_bottom ⇒ String
readonly
T-junction glyph with its branch pointing down.
-
#tee_left ⇒ String
readonly
T-junction glyph with its branch pointing left.
-
#tee_right ⇒ String
readonly
T-junction glyph with its branch pointing right.
-
#tee_top ⇒ String
readonly
T-junction glyph with its branch pointing up.
-
#top_left ⇒ String
readonly
Top-left corner glyph.
-
#top_right ⇒ String
readonly
Top-right corner glyph.
-
#vertical ⇒ String
readonly
Vertical line glyph.
Instance Attribute Details
#bottom_left ⇒ String (readonly)
Returns bottom-left corner glyph.
33 34 35 36 37 38 |
# File 'lib/rubytui/symbols.rb', line 33 BorderSet = Data.define( :top_left, :top_right, :bottom_left, :bottom_right, :horizontal, :vertical, :cross, :tee_left, :tee_right, :tee_top, :tee_bottom ) |
#bottom_right ⇒ String (readonly)
Returns bottom-right corner glyph.
33 34 35 36 37 38 |
# File 'lib/rubytui/symbols.rb', line 33 BorderSet = Data.define( :top_left, :top_right, :bottom_left, :bottom_right, :horizontal, :vertical, :cross, :tee_left, :tee_right, :tee_top, :tee_bottom ) |
#cross ⇒ String (readonly)
Returns four-way junction glyph.
33 34 35 36 37 38 |
# File 'lib/rubytui/symbols.rb', line 33 BorderSet = Data.define( :top_left, :top_right, :bottom_left, :bottom_right, :horizontal, :vertical, :cross, :tee_left, :tee_right, :tee_top, :tee_bottom ) |
#horizontal ⇒ String (readonly)
Returns horizontal line glyph.
33 34 35 36 37 38 |
# File 'lib/rubytui/symbols.rb', line 33 BorderSet = Data.define( :top_left, :top_right, :bottom_left, :bottom_right, :horizontal, :vertical, :cross, :tee_left, :tee_right, :tee_top, :tee_bottom ) |
#tee_bottom ⇒ String (readonly)
Returns T-junction glyph with its branch pointing down.
33 34 35 36 37 38 |
# File 'lib/rubytui/symbols.rb', line 33 BorderSet = Data.define( :top_left, :top_right, :bottom_left, :bottom_right, :horizontal, :vertical, :cross, :tee_left, :tee_right, :tee_top, :tee_bottom ) |
#tee_left ⇒ String (readonly)
Returns T-junction glyph with its branch pointing left.
33 34 35 36 37 38 |
# File 'lib/rubytui/symbols.rb', line 33 BorderSet = Data.define( :top_left, :top_right, :bottom_left, :bottom_right, :horizontal, :vertical, :cross, :tee_left, :tee_right, :tee_top, :tee_bottom ) |
#tee_right ⇒ String (readonly)
Returns T-junction glyph with its branch pointing right.
33 34 35 36 37 38 |
# File 'lib/rubytui/symbols.rb', line 33 BorderSet = Data.define( :top_left, :top_right, :bottom_left, :bottom_right, :horizontal, :vertical, :cross, :tee_left, :tee_right, :tee_top, :tee_bottom ) |
#tee_top ⇒ String (readonly)
Returns T-junction glyph with its branch pointing up.
33 34 35 36 37 38 |
# File 'lib/rubytui/symbols.rb', line 33 BorderSet = Data.define( :top_left, :top_right, :bottom_left, :bottom_right, :horizontal, :vertical, :cross, :tee_left, :tee_right, :tee_top, :tee_bottom ) |
#top_left ⇒ String (readonly)
Returns top-left corner glyph.
33 34 35 36 37 38 |
# File 'lib/rubytui/symbols.rb', line 33 BorderSet = Data.define( :top_left, :top_right, :bottom_left, :bottom_right, :horizontal, :vertical, :cross, :tee_left, :tee_right, :tee_top, :tee_bottom ) |
#top_right ⇒ String (readonly)
Returns top-right corner glyph.
33 34 35 36 37 38 |
# File 'lib/rubytui/symbols.rb', line 33 BorderSet = Data.define( :top_left, :top_right, :bottom_left, :bottom_right, :horizontal, :vertical, :cross, :tee_left, :tee_right, :tee_top, :tee_bottom ) |
#vertical ⇒ String (readonly)
Returns vertical line glyph.
33 34 35 36 37 38 |
# File 'lib/rubytui/symbols.rb', line 33 BorderSet = Data.define( :top_left, :top_right, :bottom_left, :bottom_right, :horizontal, :vertical, :cross, :tee_left, :tee_right, :tee_top, :tee_bottom ) |