Class: Mensa::Filters::Component

Inherits:
ApplicationComponent show all
Defined in:
app/components/mensa/filters/component.rb

Instance Attribute Summary collapse

Attributes inherited from ApplicationComponent

#original_view_context

Instance Method Summary collapse

Constructor Details

#initialize(table:) ⇒ Component

Returns a new instance of Component.



8
9
10
# File 'app/components/mensa/filters/component.rb', line 8

def initialize(table:)
  @table = table
end

Instance Attribute Details

#tableObject (readonly)

Returns the value of attribute table.



6
7
8
# File 'app/components/mensa/filters/component.rb', line 6

def table
  @table
end