class Asciidoctor::Extensions::Group - asciidoctor-1.5.6.2 Documentation

# 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 626
    def register name = nil
      Extensions.register name, self
    end

### Public Instance Methods

activate(registry) click to toggle source

    # File lib/asciidoctor/extensions.rb, line 631
    def activate registry
      raise ::NotImplementedError
    end