module Asciidoctor::Compliance

Flags to control compliance with the behavior of AsciiDoc

Attributes

keys[R]

Public Class Methods

define(key, value) click to toggle source

Defines a new compliance key and assigns an initial value.

# File lib/asciidoctor.rb, line 113
def define key, value
  instance_variable_set %(@#{key}), value
  singleton_class.send :attr_accessor, key
  @keys << key
  nil
end