class Asciidoctor::Extensions::Group

Public: A Group is used to register one or more extensions with the Registry.

The Group should be subclassed and registered with the Registry either by invoking the {Group.register} method or passing the subclass to the {Extensions.register} method. Extensions are registered with the Registry inside the {Group#activate} method.

Public Class Methods

register(name = nil) click to toggle source
# File lib/asciidoctor/extensions.rb, line 700
def register name = nil
  Extensions.register name, self
end

Public Instance Methods

activate(registry) click to toggle source
# File lib/asciidoctor/extensions.rb, line 705
def activate registry
  raise ::NotImplementedError
end