module Asciidoctor::Extensions::MacroProcessorDsl

Private Instance Methods

resolve_attributes(*args)

NOTE we may decide to drop this alias

Alias for: resolves_attributes
resolves_attributes(*args) click to toggle source
# File lib/asciidoctor/extensions.rb, line 512
def resolves_attributes *args
  if args.size == 1 && !args[0]
    option :content_model, :text
    return
  end
  super
  option :content_model, :attributes
end
Also aliased as: resolve_attributes