Module Cell::ViewModel::Layout::External
In: lib/cell/layout.rb

Allows using a separate layout cell which will wrap the actual content. Use like cell(…, layout: Cell::Layout)

Note that still allows the `render layout: :application` option.

Methods

call  

Constants

Render = ->(content, model, layout, options) do # WARNING: THIS IS NOT FINAL API. return content unless layout = layout # TODO: test when invoking cell without :layout.

Public Instance methods

[Validate]