summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuillaume Grossetie <ggrossetie@gmail.com>2022-01-03 00:34:50 +0100
committerGitHub <noreply@github.com>2022-01-02 16:34:50 -0700
commit82e641e4e11a68b957cacc0cbabe8440c4ec4e93 (patch)
tree62de9c942ab38e69760696ac7b2e26bd3e55f562 /lib
parent1acec08bda6b7b6f394dea90caa32addbf79f19d (diff)
Hide autoload converter/template from Opal (PR #4205)
Diffstat (limited to 'lib')
-rw-r--r--lib/asciidoctor/converter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/converter.rb b/lib/asciidoctor/converter.rb
index be598bed..58b9b709 100644
--- a/lib/asciidoctor/converter.rb
+++ b/lib/asciidoctor/converter.rb
@@ -43,7 +43,7 @@ module Asciidoctor
# puts Asciidoctor.convert_file 'sample.adoc', safe: :safe
module Converter
autoload :CompositeConverter, %(#{__dir__}/converter/composite)
- autoload :TemplateConverter, %(#{__dir__}/converter/template)
+ autoload :TemplateConverter, %(#{__dir__}/converter/template) unless RUBY_ENGINE == 'opal'
# Public: The String backend name that this converter is handling.
attr_reader :backend