Class: CodengageViewComponents::DropdownComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- CodengageViewComponents::DropdownComponent
- Defined in:
- app/components/codengage_view_components/dropdown_component.rb
Instance Method Summary collapse
-
#initialize(id:, options: {}) ⇒ DropdownComponent
constructor
A new instance of DropdownComponent.
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 = end |