Class NodeConverter

java.lang.Object
org.asciidoctor.jruby.ast.impl.NodeConverter

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

    • createASTNode

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

      public static ContentNode createASTNode(Object object)
    • asRubyObject

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