module Asciidoctor::Converter::Config

A module that contributes the register_for method for registering a converter with the default registry.

Public Instance Methods

register_for(*backends) click to toggle source

Public: Registers this {Converter} class with the default registry to handle the specified backend name(s).

backends - One or more String backend names with which to associate this {Converter} class.

Returns nothing.

# File lib/asciidoctor/converter.rb, line 151
def register_for *backends
  Converter.register self, *(backends.map {|backend| backend.to_s })
end