Class: CodengageViewComponents::DropdownComponent

Inherits:
ApplicationComponent show all
Defined in:
app/components/codengage_view_components/dropdown_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(id:, options: {}) ⇒ DropdownComponent

Returns a new instance of DropdownComponent.



8
9
10
11
# File 'app/components/codengage_view_components/dropdown_component.rb', line 8

def initialize(id:, options: {})
  @id = id
  @options = options
end