Class 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
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RubyGemsPreloader

        public RubyGemsPreloader​(org.jruby.Ruby rubyRuntime)
    • 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.