class Liquid::Ifchanged
Public Instance Methods
Source
# File lib/liquid/tags/ifchanged.rb, line 3 def render(context) context.stack do output = super if output != context.registers[:ifchanged] context.registers[:ifchanged] = output output else ''.freeze end end end
Calls superclass method
Liquid::Block#render