class Asciidoctor::Extensions::MacroProcessor
Attributes
name[RW]
Public Class Methods
new(name = nil, config = {})
click to toggle source
Calls superclass method
Asciidoctor::Extensions::Processor::new
# File lib/asciidoctor/extensions.rb, line 577 def initialize name = nil, config = {} super config @name = name || @config[:name] @config[:content_model] ||= :attributes end
Public Instance Methods
process(parent, target, attributes)
click to toggle source
# File lib/asciidoctor/extensions.rb, line 583 def process parent, target, attributes raise ::NotImplementedError, %(#{MacroProcessor} subclass #{self.class} must implement the ##{__method__} method) end