class Asciidoctor::Standoc::Converter
A {Converter} implementation that generates Standoc
output, and a document schema encapsulation of the document for validation
Attributes
_file[RW]
Public Class Methods
inherited(konv)
click to toggle source
# File lib/asciidoctor/standoc/converter.rb, line 92 def self.inherited(konv) # rubocop:disable Lint/MissingSuper konv._file = caller_locations(1..1).first.absolute_path end
new(backend, opts)
click to toggle source
Calls superclass method
# File lib/asciidoctor/standoc/converter.rb, line 81 def initialize(backend, opts) super basebackend "html" outfilesuffix ".xml" @libdir = File.dirname(self.class::_file || __FILE__) end
Public Instance Methods
html_doc_path(file)
click to toggle source
path to isodoc assets in child gems
# File lib/asciidoctor/standoc/converter.rb, line 97 def html_doc_path(file) File.join(@libdir, "../../isodoc/html", file) end