Class: Tuile::Component::PickerWindow::Option

Inherits:
Object
  • Object
show all
Defined in:
lib/tuile/component/picker_window.rb

Overview

One picker option.

Instance Attribute Summary collapse

Instance Attribute Details

#captionString (readonly)

Returns the option caption.

Returns:

  • (String)

    the option caption.



22
23
# File 'lib/tuile/component/picker_window.rb', line 22

class Option < Data.define(:key, :caption)
end

#keyString (readonly)

Returns the keyboard key that picks this option.

Returns:

  • (String)

    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