Class: Rcurses::Pane
- Inherits:
-
Object
- Object
- Rcurses::Pane
- Defined in:
- lib/heathrow/ui/application.rb
Overview
Add .content_update flag to rcurses Pane. When content_update=false, render_all skips re-rendering that pane's content. Uses a separate name to avoid conflicting with rcurses internal @update flag.
Instance Method Summary collapse
Instance Method Details
#content_update ⇒ Object
25 26 27 |
# File 'lib/heathrow/ui/application.rb', line 25 def content_update @content_update.nil? ? true : @content_update end |
#content_update=(value) ⇒ Object
21 22 23 |
# File 'lib/heathrow/ui/application.rb', line 21 def content_update=(value) @content_update = value end |