Class: RETerm::Components::Template
- Inherits:
-
RETerm::Component
- Object
- RETerm::Component
- RETerm::Components::Template
- Defined in:
- lib/reterm/components/template.rb
Overview
Template which may be used as the basis for other components
Instance Attribute Summary
Attributes inherited from RETerm::Component
Instance Method Summary collapse
-
#activatable? ⇒ Boolean
Return true if the user should be able to focus and interact with this component, default to false.
-
#activate! ⇒ Object
Method call when this component is activated.
-
#draw! ⇒ Object
Override this method to draw component on screen.
-
#initialize(args = {}) ⇒ Template
constructor
All components must accept args hash (specified via loader).
Methods inherited from RETerm::Component
#colored?, #colors=, #finalize!
Constructor Details
#initialize(args = {}) ⇒ Template
All components must accept args hash (specified via loader)
6 7 |
# File 'lib/reterm/components/template.rb', line 6 def initialize(args={}) end |
Instance Method Details
#activatable? ⇒ Boolean
Return true if the user should be able to focus and interact with this component, default to false
15 16 |
# File 'lib/reterm/components/template.rb', line 15 def activatable? end |
#activate! ⇒ Object
Method call when this component is activated
19 20 |
# File 'lib/reterm/components/template.rb', line 19 def activate! end |
#draw! ⇒ Object
Override this method to draw component on screen
10 11 |
# File 'lib/reterm/components/template.rb', line 10 def draw! end |