diff options
| author | Guillaume Grossetie <ggrossetie@gmail.com> | 2022-01-03 00:34:50 +0100 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2022-01-02 16:35:42 -0700 |
| commit | 22394f83897f96fee6e5557ad2ff98f5c215f8e6 (patch) | |
| tree | 9c4df14200386974c6fa1b944115f3e4890fe1e3 /lib | |
| parent | 2f4f9b6d2518360ef56d00014047611a3a67517a (diff) | |
Hide autoload converter/template from Opal (PR #4205)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/asciidoctor/converter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/converter.rb b/lib/asciidoctor/converter.rb index 32482e55..1f67e1fe 100644 --- a/lib/asciidoctor/converter.rb +++ b/lib/asciidoctor/converter.rb @@ -42,7 +42,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 |
