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



556
557
558
# File 'lib/asciidoctor/extensions.rb', line 556

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