Class NodeConverter


  • public final class NodeConverter
    extends java.lang.Object
    A library class that allows to convert nodes from Asciidoctor Ruby to its AsciidoctorJRuby counterparts.
    • Method Detail

      • createASTNode

        public static ContentNode createASTNode​(org.jruby.Ruby runtime,
                                                NodeConverter.NodeType nodeType,
                                                org.jruby.runtime.builtin.IRubyObject... args)
      • createASTNode

        public static ContentNode createASTNode​(java.lang.Object object)
      • asRubyObject

        public static org.jruby.runtime.builtin.IRubyObject asRubyObject​(java.lang.Object o)