Module: Asciidoctor::Converter::Config

Defined in:
lib/asciidoctor/converter.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#register_for(*backends) ⇒ void

This method returns an undefined value.

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

Parameters:



150
151
152
# File 'lib/asciidoctor/converter.rb', line 150

def register_for *backends
  Converter.register self, *(backends.map {|backend| backend.to_s })
end