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