Method: Cell::Collection#initialize
- Defined in:
- lib/cell/collection.rb
#initialize(ary, options, cell_class) ⇒ Collection
Returns a new instance of Collection.
3 4 5 6 7 8 9 10 |
# File 'lib/cell/collection.rb', line 3 def initialize(ary, , cell_class) .delete(:collection) () # TODO: remove in 5.0. @ary = ary = # these options are "final" and will be identical for all collection cells. @cell_class = cell_class end |