module Asciidoctor::Extensions::MacroProcessorDsl
Public Instance Methods
content_model(value)
click to toggle source
# File lib/asciidoctor/extensions.rb, line 390 def content_model value option :content_model, value end
Also aliased as: parse_content_as
default_attrs(value)
click to toggle source
# File lib/asciidoctor/extensions.rb, line 402 def default_attrs value option :default_attrs, value end
Also aliased as: seed_attributes_with
named(value)
click to toggle source
QUESTION perhaps include a SyntaxDsl?
# File lib/asciidoctor/extensions.rb, line 380 def named value if Processor === self @name = value else option :name, value end end
Also aliased as: match_name, bind_to
positional_attributes(*value)
click to toggle source
# File lib/asciidoctor/extensions.rb, line 395 def positional_attributes *value option :pos_attrs, value.flatten end