lib/asciidoctor/extensions.rb in asciidoctor-1.5.3 vs lib/asciidoctor/extensions.rb in asciidoctor-1.5.4

- old
+ new

@@ -34,11 +34,11 @@ # Instances of the Processor class provide convenience methods for creating # AST nodes, such as Block and Inline, and for parsing child content. class Processor class << self # Public: Get the static configuration for this processor class. - # + # # Returns a configuration [Hash] def config @config ||= {} end @@ -846,11 +846,11 @@ # to a Symbol) of the AsciiDoc block content (i.e., delimited block or # paragraph) that this processor is registered to handle. If a block name # is not passed as an argument, it gets read from the name property of the # BlockProcessor instance. If a name still cannot be determined, an error # is raised. - # + # # Examples # # # as a BlockProcessor subclass # block ShoutBlock # @@ -869,11 +869,11 @@ # # as a name of a BlockProcessor subclass with an explicit block name # block 'ShoutBlock', :shout # # # as a method block # block do - # named :shout + # named :shout # process |parent, reader, attrs| # ... # end # end # @@ -935,11 +935,11 @@ # the first argument to this method. The second argument is the name # (coersed to a Symbol) of the AsciiDoc block macro that this processor is # registered to handle. If a block macro name is not passed as an argument, # it gets read from the name property of the BlockMacroProcessor instance. # If a name still cannot be determined, an error is raised. - # + # # Examples # # # as a BlockMacroProcessor subclass # block_macro GistBlockMacro # @@ -1024,10 +1024,10 @@ # the first argument to this method. The second argument is the name # (coersed to a Symbol) of the AsciiDoc block macro that this processor is # registered to handle. If a block macro name is not passed as an argument, # it gets read from the name property of the InlineMacroProcessor instance. # If a name still cannot be determined, an error is raised. - # + # # Examples # # # as an InlineMacroProcessor subclass # inline_macro ChromeInlineMacro #