Class: Fatty::StatusView
Instance Attribute Summary
Attributes inherited from View
Instance Method Summary collapse
Methods inherited from View
Constructor Details
This class inherits a constructor from Fatty::View
Instance Method Details
#render(screen:, renderer:, terminal:) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/fatty/view/status_view.rb', line 5 def render(screen:, renderer:, terminal:) return unless terminal.status_text renderer.render_status( terminal.status_text, role: terminal.status_role || :info, ) end |