class Asciidoctor::Converter::CustomFactory
Public Class Methods
new(seed_registry = nil)
click to toggle 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
unregister_all()
click to toggle source
Public: Unregister all Converter
classes that are registered with this factory. Intended for testing only.
Returns nothing.
# File lib/asciidoctor/converter.rb, line 272 def unregister_all registry.clear.default = nil end