Class: RETerm::Components::Button
- Inherits:
-
RETerm::Component
- Object
- RETerm::Component
- RETerm::Components::Button
- Includes:
- RETerm::CDKComponent
- Defined in:
- lib/reterm/components/button.rb
Overview
CDK Button Component
Instance Attribute Summary
Attributes inherited from RETerm::Component
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Button
constructor
Initialize the Button component.
Methods included from RETerm::CDKComponent
#activatable?, #activate!, #colors=, #component, #draw!, #value
Methods inherited from RETerm::Component
#activatable?, #activate!, #colored?, #colors=, #finalize!
Constructor Details
#initialize(args = {}) ⇒ Button
Initialize the Button component
11 12 13 |
# File 'lib/reterm/components/button.rb', line 11 def initialize(args={}) @title = args[:title] || "" end |