Module: Cell::Rails::Capture::RenderCellExtension
- Defined in:
- lib/cells_capture.rb
Instance Method Summary collapse
Instance Method Details
#render_cell(*args, &block) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/cells_capture.rb', line 14 def render_cell(*args, &block) super(*args) do |cell| block.call(cell) if block_given? cell.global_tpl = self if cell.is_a? ::Cell::Rails::Capture end end |