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.



158
159
160
# File 'lib/asciidoctor/syntax_highlighter.rb', line 158

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