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.
114 115 116 |
# File 'lib/asciidoctor/syntax_highlighter.rb', line 114 def register_for *names SyntaxHighlighter.register self, *(names.map {|name| name.to_s }) end |