Package org.asciidoctor.jruby.internal
Class RubyGemsPreloader
- java.lang.Object
-
- org.asciidoctor.jruby.internal.RubyGemsPreloader
-
public class RubyGemsPreloader extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RubyGemsPreloader(org.jruby.Ruby rubyRuntime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpreloadRequiredLibraries(java.util.Map<? super java.lang.String,java.lang.Object> options)Preload required libraries based on the options passed to the AsciidoctorJ API.
-
-
-
Method Detail
-
preloadRequiredLibraries
public void preloadRequiredLibraries(java.util.Map<? super java.lang.String,java.lang.Object> options)
Preload required libraries based on the options passed to the AsciidoctorJ API. This method should only be used if a document is converted via the AsciidoctorJ API.- Parameters:
options- The map with options that will be passed to the AsciidoctorJ API. This is usually obtained by calling Options.map() on an Options instance. The attributes are passed as a nested Map with String keys and String values.
-
-