Module: Cell::Collection::Layout
- Included in:
- Cell::Collection
- Defined in:
- lib/cell/collection.rb
Instance Method Summary collapse
-
#call ⇒ Object
WARNING: THIS IS NOT FINAL API.
Instance Method Details
#call ⇒ Object
WARNING: THIS IS NOT FINAL API.
40 41 42 43 44 45 |
# File 'lib/cell/collection.rb', line 40 def call(*) # WARNING: THIS IS NOT FINAL API. layout = .delete(:layout) # we could also override #initialize and that there? content = super # DISCUSS: that could come in via the pipeline argument. ViewModel::Layout::External::Render.(content, @ary, layout, ) end |