# File lib/asciidoctor/converter.rb, line 201 def write output, target if target.respond_to? :write target.write output.chomp # ensure there's a trailing endline to be nice to terminals target.write LF else ::IO.write target, output end nil end