Class: Asciidoctor::SyntaxHighlighter::CustomFactory

Inherits:
Object
  • Object
show all
Includes:
Factory
Defined in:
lib/asciidoctor/syntax_highlighter.rb

Direct Known Subclasses

DefaultFactoryProxy

Instance Method Summary collapse

Methods included from Factory

#create, #for, #register

Constructor Details

#initialize(seed_registry = nil) ⇒ CustomFactory

Returns a new instance of CustomFactory.



165
166
167
# File 'lib/asciidoctor/syntax_highlighter.rb', line 165

def initialize seed_registry = nil
  @registry = seed_registry || {}
end