lib/asciidoctor/extensions.rb in asciidoctor-2.0.10 vs lib/asciidoctor/extensions.rb in asciidoctor-2.0.11

- old
+ new

@@ -423,11 +423,11 @@ # Document object, as well as various backend-related document attributes. # # TIP: Postprocessors can also be used to relocate assets needed by the published # document. # - # Postprocessor implementations must Postprocessor. + # Postprocessor implementations must extend Postprocessor. class Postprocessor < Processor def process document, output raise ::NotImplementedError, %(#{Postprocessor} subclass #{self.class} must implement the ##{__method__} method) end end @@ -608,10 +608,10 @@ # # InlineMacroProcessor implementations must extend InlineMacroProcessor. #-- # TODO break this out into different pattern types # for example, FullInlineMacro, ShortInlineMacro (no target) and other patterns - # FIXME for inline passthrough, we need to have some way to specify the text as a passthrough + # FIXME for inline macro, we need to have some way to specify the text as a passthrough class InlineMacroProcessor < MacroProcessor @@rx_cache = {} # Lookup the regexp option, resolving it first if necessary. # Once this method is called, the regexp is considered frozen.