module Asciidoctor
def self.load_file(filename, options = {}, &block)
block - a callback block for handling include::[] directives
see Asciidoctor::Document#initialize for details
options - a Hash of options to control processing (default: {})
input - the String AsciiDoc source filename
attributes on the Document.
input is a File, information about the file is stored in
Accepts input as an IO, String or String Array object. If the
Public: Parse the contents of the AsciiDoc source file into an Asciidoctor::Document
def self.load_file(filename, options = {}, &block) Asciidoctor.load(File.new(filename), options, &block) end