module Asciidoctor::SyntaxHighlighter::Config

Public Instance Methods

register_for(*names) click to toggle source

Public: Statically register the current class in the registry for the specified names.

names - one or more String or Symbol names with which to register the current class as a syntax highlighter

implementation. Symbol arguments are coerced to Strings.

Returns nothing.

# File lib/asciidoctor/syntax_highlighter.rb, line 114
def register_for *names
  SyntaxHighlighter.register self, *(names.map {|name| name.to_s })
end