Class: Impulse::SelectComponent::OptionStruct

Inherits:
Struct
  • Object
show all
Defined in:
app/components/impulse/select_component.rb

Instance Attribute Summary collapse

Instance Attribute Details

#html_attributesObject

Returns the value of attribute html_attributes

Returns:

  • (Object)

    the current value of html_attributes



6
7
8
# File 'app/components/impulse/select_component.rb', line 6

def html_attributes
  @html_attributes
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



6
7
8
# File 'app/components/impulse/select_component.rb', line 6

def text
  @text
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



6
7
8
# File 'app/components/impulse/select_component.rb', line 6

def value
  @value
end