Sha256: a3d2940f74595d2254ca9452ec14c10e99a906947ae72391e4515189c346da63
Contents?: true
Size: 867 Bytes
Versions: 4
Compression:
Stored size: 867 Bytes
Contents
require_relative '../error/jekyll_plugin_error_handling' module JekyllSupport class JekyllTagNoArgParsing < JekyllTag attr_reader :argument_string, :helper, :line_number, :logger, :page, :site def initialize(tag_name, argument_string, parse_context) class << self include NoArgParsing end super @logger.debug { "#{self.class}: respond_to?(:no_arg_parsing) #{respond_to?(:no_arg_parsing) ? 'yes' : 'no'}." } end # Jekyll plugins must override this method, not render, so their plugin can be tested more easily # The following variables are predefined: # @argument_string, @config, @envs, @helper, @layout, @logger, @mode, @page, @paginator, @site, @tag_name and @theme def render_impl abort "#{self.class}.render_impl for tag #{@tag_name} must be overridden, but it was not." end end end
Version data entries
4 entries across 4 versions & 1 rubygems