Class: CodengageViewComponents::TableComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- CodengageViewComponents::TableComponent
- Defined in:
- app/components/codengage_view_components/table_component.rb
Instance Method Summary collapse
-
#initialize(variant: :normal, options: {}) ⇒ TableComponent
constructor
A new instance of TableComponent.
Constructor Details
#initialize(variant: :normal, options: {}) ⇒ TableComponent
Returns a new instance of TableComponent.
8 9 10 11 |
# File 'app/components/codengage_view_components/table_component.rb', line 8 def initialize(variant: :normal, options: {}) @variant = variant @options = end |