module Asciidoctor
def load_file filename, options = {}
See Asciidoctor::Document#initialize for details about options.
String and Array values are converted into a Hash.
options - a String, Array or Hash of options to control processing (default: {})
input - the String AsciiDoc source filename
Public: Parse the contents of the AsciiDoc source file into an Asciidoctor::Document
def load_file filename, options = {} ::File.open(filename, FILE_READ_MODE) {|file| load file, options } end