Class SyntaxHighlighterProxy.Allocator
java.lang.Object
org.asciidoctor.jruby.syntaxhighlighter.internal.SyntaxHighlighterProxy.Allocator
- All Implemented Interfaces:
org.jruby.runtime.ObjectAllocator
- Enclosing class:
- SyntaxHighlighterProxy
public static class SyntaxHighlighterProxy.Allocator
extends Object
implements org.jruby.runtime.ObjectAllocator
-
Field Summary
Fields inherited from interface org.jruby.runtime.ObjectAllocator
NOT_ALLOCATABLE_ALLOCATOR -
Constructor Summary
ConstructorsConstructorDescriptionAllocator(Class<? extends SyntaxHighlighterAdapter> syntaxHighlighterClass, JRubyAsciidoctor asciidoctor) -
Method Summary
Modifier and TypeMethodDescriptionorg.jruby.runtime.builtin.IRubyObjectallocate(org.jruby.Ruby runtime, org.jruby.RubyClass rubyClass) Class<? extends SyntaxHighlighterAdapter>
-
Constructor Details
-
Allocator
public Allocator(Class<? extends SyntaxHighlighterAdapter> syntaxHighlighterClass, JRubyAsciidoctor asciidoctor)
-
-
Method Details
-
allocate
public org.jruby.runtime.builtin.IRubyObject allocate(org.jruby.Ruby runtime, org.jruby.RubyClass rubyClass) - Specified by:
allocatein interfaceorg.jruby.runtime.ObjectAllocator
-
getSyntaxHighlighterClass
-