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 105
def self.define key, value
  instance_variable_set %Q(@#{key}), value
  class << self; self; end.send :attr_accessor, key
  @keys << key
  nil
end