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

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

Overview

One picker option.

Instance Attribute Summary collapse

Instance Attribute Details

#captionStyledString (readonly)

@return — the option caption, coerced from whatever the constructor was handed.

Returns:



38
39
# File 'lib/tuile/component/picker_window.rb', line 38

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

#keyString (readonly)

@return — the keyboard key that picks this option.

Returns:

  • (String)


38
39
# File 'lib/tuile/component/picker_window.rb', line 38

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