class Liquid::Ifchanged
Public Instance Methods
Source
# File lib/liquid/tags/ifchanged.rb, line 5 def render_to_output_buffer(context, output) block_output = +'' super(context, block_output) if block_output != context.registers[:ifchanged] context.registers[:ifchanged] = block_output output << block_output end output end
Calls superclass method