module Asciidoctor::Extensions::BlockProcessorDsl
Public Instance Methods
content_model(value)
click to toggle source
# File lib/asciidoctor/extensions.rb, line 343 def content_model value option :content_model, value end
Also aliased as: parse_content_as
contexts(*value)
click to toggle source
# File lib/asciidoctor/extensions.rb, line 337 def contexts *value option :contexts, value.flatten end
Also aliased as: on_contexts, on_context
default_attrs(value)
click to toggle source
# File lib/asciidoctor/extensions.rb, line 355 def default_attrs value option :default_attrs, value end
Also aliased as: seed_attributes_with
named(value)
click to toggle source
FIXME this isn't the prettiest thing
# File lib/asciidoctor/extensions.rb, line 327 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 348 def positional_attributes *value option :pos_attrs, value.flatten end