Sha256: 2f2305eef43c1224febda77da96f824499194e96d8995b1a01cdb9ae155b3996
Contents?: true
Size: 362 Bytes
Versions: 14
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true module Liquid class Ifchanged < Block 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 end end
Version data entries
14 entries across 14 versions & 1 rubygems