Class: FullscreenTui::Renderer
- Inherits:
-
Object
- Object
- FullscreenTui::Renderer
- Defined in:
- lib/fullscreen_tui/renderer.rb
Instance Method Summary collapse
Instance Method Details
#footer(line) ⇒ Object
15 16 17 |
# File 'lib/fullscreen_tui/renderer.rb', line 15 def line print line end |
#header(line) ⇒ Object
7 8 9 |
# File 'lib/fullscreen_tui/renderer.rb', line 7 def header line puts line end |
#line(line, selected:) ⇒ Object
11 12 13 |
# File 'lib/fullscreen_tui/renderer.rb', line 11 def line line, selected: puts(selected ? line.underline : line) end |