Class Cell::ViewModel
In: lib/cell/view_model.rb
lib/cell/layout.rb
Parent: Object

Methods

call   cell   context   controller_path   new   property   templates   to_s  

Included Modules

Prefixes Rendering Caching TemplateFor ProcessOptions Layout

Classes and Modules

Module Cell::ViewModel::Escaped
Module Cell::ViewModel::Helpers
Module Cell::ViewModel::Layout
Module Cell::ViewModel::Partial
Module Cell::ViewModel::ProcessOptions
Module Cell::ViewModel::Rendering
Module Cell::ViewModel::TemplateFor
Class Cell::ViewModel::Context
Class Cell::ViewModel::OutputBuffer

External Aliases

new -> build

Attributes

model  [R] 
options  [R] 

Public Class methods

Public entry point. Use this to instantiate cells with builders.

  SongCell.(@song)
  SongCell.(collection: Song.all)

Public Instance methods

Build nested cell in instance.

[Validate]