Class: RubyTUI::Symbols::BorderSet

Inherits:
Data
  • Object
show all
Defined in:
lib/rubytui/symbols.rb

Overview

Immutable set of the glyphs used to draw a border.

Instance Attribute Summary collapse

Instance Attribute Details

#bottom_left ⇒ String (readonly)

Returns bottom-left corner glyph.

Returns:

  • (String) —

    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.

Returns:

  • (String) —

    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.

Returns:

  • (String) —

    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.

Returns:

  • (String) —

    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.

Returns:

  • (String) —

    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.

Returns:

  • (String) —

    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.

Returns:

  • (String) —

    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.

Returns:

  • (String) —

    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.

Returns:

  • (String) —

    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.

Returns:

  • (String) —

    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.

Returns:

  • (String) —

    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
)