Class: CodengageViewComponents::TableComponent

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

Instance Method Summary collapse

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 = options
end