Class: Effective::TableRows::Collection
- Inherits:
-
Effective::TableRow
- Object
- Effective::TableRow
- Effective::TableRows::Collection
- Defined in:
- app/models/effective/table_rows/collection.rb
Instance Attribute Summary
Attributes inherited from Effective::TableRow
#builder, #name, #options, #template
Instance Method Summary collapse
-
#initialize(name, collection, options, builder:) ⇒ Collection
constructor
A new instance of Collection.
Methods inherited from Effective::TableRow
#content, #label, #to_html, #value
Constructor Details
#initialize(name, collection, options, builder:) ⇒ Collection
Returns a new instance of Collection.
7 8 9 10 |
# File 'app/models/effective/table_rows/collection.rb', line 7 def initialize(name, collection, , builder:) @collection = collection super(name, , builder: builder) end |