Sha256: 43811db878c8daefc1305283dc2da08add3ea94543d87189cba225a52d6a21fc
Contents?: true
Size: 694 Bytes
Versions: 11
Compression:
Stored size: 694 Bytes
Contents
module Liquid class Tag attr_accessor :options, :line_number attr_reader :nodelist, :warnings include ParserSwitching class << self def parse(tag_name, markup, tokens, options) tag = new(tag_name, markup, options) tag.parse(tokens) tag end private :new end def initialize(tag_name, markup, options) @tag_name = tag_name @markup = markup @options = options end def parse(tokens) end def raw "#{@tag_name} #{@markup}" end def name self.class.name.downcase end def render(context) ''.freeze end def blank? false end end end
Version data entries
11 entries across 11 versions & 2 rubygems