Class: Effective::TableRows::Collection

Inherits:
Effective::TableRow show all
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

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, options, builder:)
  @collection = collection
  super(name, options, builder: builder)
end