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 {::register} method or passing the subclass to the {Asciidoctor::Extensions.register} method. Extensions are registered with the Registry inside the {#activate} method.

Public Class Methods

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

Public Instance Methods

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