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