Module: Asciidoctor::SyntaxHighlighter::Config
- Defined in:
- lib/asciidoctor/syntax_highlighter.rb
Instance Method Summary collapse
-
#register_for(*names) ⇒ void
Statically register the current class in the registry for the specified names.
Instance Method Details
#register_for(*names) ⇒ void
This method returns an undefined value.
Statically register the current class in the registry for the specified names.
107 108 109 |
# File 'lib/asciidoctor/syntax_highlighter.rb', line 107 def register_for *names SyntaxHighlighter.register self, *(names.map {|name| name.to_s }) end |