Module: Asciidoctor::Extensions::BlockProcessorDsl

Includes:
SyntaxProcessorDsl
Defined in:
lib/asciidoctor/extensions.rb

Instance Method Summary collapse

Methods included from SyntaxProcessorDsl

#content_model, #default_attributes, #named, #positional_attributes, #resolve_attributes

Instance Method Details

#contexts(*value) ⇒ Object Also known as: on_contexts, on_context, bind_to



565
566
567
# File 'lib/asciidoctor/extensions.rb', line 565

def contexts *value
  option :contexts, value.flatten.to_set
end