org.asciidoctor
public static class Asciidoctor.Factory extends Object
Constructor and Description |
---|
Asciidoctor.Factory() |
Modifier and Type | Method and Description |
---|---|
static Asciidoctor |
create()
Creates a new instance of Asciidoctor.
|
static Asciidoctor |
create(ClassLoader classloader)
Creates a new instance of Asciidoctor and sets a specific classloader for the JRuby runtime to use.
|
static Asciidoctor |
create(List<String> loadPaths)
Creates a new instance of Asciidoctor and sets loadPath to provided paths.
|
static Asciidoctor |
create(String gemPath)
Creates a new instance of Asciidoctor and sets GEM_PATH environment
variable to provided gemPath.
|
public static Asciidoctor create()
public static Asciidoctor create(String gemPath)
gemPath
- where gems are located.public static Asciidoctor create(List<String> loadPaths)
gemPath
- where gems are located.public static Asciidoctor create(ClassLoader classloader)
classloader
- Copyright © 2014. All Rights Reserved.