module Cell::Rails::Capture::RenderCellExtension
Public Instance Methods
render_cell(*args, &block)
click to toggle source
Calls superclass method
# 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