Sha256: 27fe307a4ff25014082672ab00d3631d3bdc2b2c5c7fd8709fa12cb9c2fac433
Contents?: true
Size: 506 Bytes
Versions: 6
Compression:
Stored size: 506 Bytes
Contents
module Locomotive module Steam class LiquidParserService < Struct.new(:parent_finder, :snippet_finder) def parse(page) _parse(page, page: page, parent_finder: parent_finder, snippet_finder: snippet_finder, parser: self) end def _parse(object, options = {}) # Note: the template must not be parsed here ::Liquid::Template.parse(object.liquid_source, options) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems