Class: Vedeu::Cells::Horizontal Private
- Defined in:
- lib/vedeu/cells/borders/horizontal.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Provides the character/escape sequence to draw one cell of a horizontal border with a custom value, colour and style.
Direct Known Subclasses
Instance Method Summary collapse
- #as_html ⇒ String private
- #defaults ⇒ Hash<Symbol => String> private private
- #text ⇒ String private
- #type ⇒ Symbol private
Instance Method Details
#as_html ⇒ 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.
15 16 17 |
# File 'lib/vedeu/cells/borders/horizontal.rb', line 15 def as_html '─' end |
#defaults ⇒ Hash<Symbol => String> (private)
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.
32 33 34 |
# File 'lib/vedeu/cells/borders/horizontal.rb', line 32 def defaults super.merge!(value: Vedeu.esc.horizontal) end |
#text ⇒ 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.
20 21 22 |
# File 'lib/vedeu/cells/borders/horizontal.rb', line 20 def text '-' end |
#type ⇒ Symbol
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.
25 26 27 |
# File 'lib/vedeu/cells/borders/horizontal.rb', line 25 def type :horizontal end |