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
-
#register_for(*backends) ⇒ void
Registers this Asciidoctor::Converter class with the default registry to handle the specified backend name(s).
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).
151 152 153 |
# File 'lib/asciidoctor/converter.rb', line 151 def register_for *backends Converter.register self, *(backends.map {|backend| backend.to_s }) end |