Class: Mensa::AddFilter::Component

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

Instance Attribute Summary collapse

Attributes inherited from Mensa::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/add_filter/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/add_filter/component.rb', line 6

def table
  @table
end