module Cell::Collection::Layout

Public Instance Methods

call(*) click to toggle source
Calls superclass method
# File lib/cell/collection.rb, line 40
def call(*) # WARNING: THIS IS NOT FINAL API.
  layout = @options.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, @options)
end