module Asciidoctor

def convert_file filename, options = {}

file, otherwise the converted String
Returns the Document object if the converted String is written to a

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

Asciidoctor::Document and convert it to the specified backend format.
Public: Parse the contents of the AsciiDoc source file into an
def convert_file filename, options = {}
  ::File.open(filename, FILE_READ_MODE) {|file| convert file, options }
end