class Asciidoctor::Converter::CustomFactory
Attributes
Public Class Methods
Source
# File lib/asciidoctor/converter.rb, line 260 def initialize seed_registry = nil if seed_registry seed_registry.default = seed_registry.delete '*' @registry = seed_registry else @registry = {} end end
Public Instance Methods
Source
# File lib/asciidoctor/converter.rb, line 272 def unregister_all registry.clear.default = nil end
Public: Unregister all Converter
classes that are registered with this factory. Intended for testing only.
Returns nothing.