module

Asciidoctor::Writer

A module that can be used to mix the write method into a Converter implementation to allow the converter to control how the output is written to disk.

Instance methods

write(output : String, target : IO) : Nil

Public: Writes the output to the specified target file name or stream.

output - The output String to write target - The String file name or IO object to which the output should be written.

Source
write(output : String, target : String) : Nil

Public: Writes the output to the specified target file path.

output - The output String to write target - The String file path to which the output should be written.

Source