module Asciidoctor::Extensions::DSL
Private Instance Methods
content_model(value)
click to toggle source
# File lib/asciidoctor/extensions.rb, line 358 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 370 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 348 def named value if self.is_a? Processor @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 363 def positional_attributes *value option :pos_attrs, value.flatten end