Method: Vedeu::Borders::Refresh#titlebar
- Defined in:
- lib/vedeu/borders/refresh.rb
#titlebar ⇒ Array<Vedeu::Cells::Horizontal|Vedeu::Cells::Char> (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.
An optional title for when the top border is to be shown.
195 196 197 198 199 |
# File 'lib/vedeu/borders/refresh.rb', line 195 def return top_border unless present?(title) Vedeu::Borders::Title.render(name, title, top_border) end |