Class: Chamomile::CommandPalette::Item

Inherits:
Data
  • Object
show all
Defined in:
lib/chamomile/components/command_palette.rb

Instance Attribute Summary collapse

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



21
22
23
# File 'lib/chamomile/components/command_palette.rb', line 21

def action
  @action
end

#keyObject (readonly)

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



21
22
23
# File 'lib/chamomile/components/command_palette.rb', line 21

def key
  @key
end

#labelObject (readonly)

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



21
22
23
# File 'lib/chamomile/components/command_palette.rb', line 21

def label
  @label
end