Class: Tuile::Component::PickerWindow::Option
- Inherits:
-
Object
- Object
- Tuile::Component::PickerWindow::Option
- Defined in:
- lib/tuile/component/picker_window.rb
Overview
One picker option.
Instance Attribute Summary collapse
-
#caption ⇒ String
readonly
The option caption.
-
#key ⇒ String
readonly
The keyboard key that picks this option.
Instance Attribute Details
#caption ⇒ String (readonly)
Returns the option caption.
22 23 |
# File 'lib/tuile/component/picker_window.rb', line 22 class Option < Data.define(:key, :caption) end |
#key ⇒ String (readonly)
Returns the keyboard key that picks this option.
22 23 |
# File 'lib/tuile/component/picker_window.rb', line 22 class Option < Data.define(:key, :caption) end |