Method: Cell::ViewModel#cell

Defined in:
lib/cell/view_model.rb

#cell(name, model = nil, options = {}) ⇒ Object

Build nested cell in instance.



62
63
64
# File 'lib/cell/view_model.rb', line 62

def cell(name, model=nil, options={})
  self.class.cell(name, model, options.merge(context: context))
end