class Asciidoctor::Extensions::MacroProcessor - asciidoctor-1.5.6.2 Documentation

# 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 511
    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 517
    def process parent, target, attributes
      raise ::NotImplementedError, %Q(Asciidoctor::Extensions::MacroProcessor subclass must implement ##{__method__} method)
    end