Sha256: 8f7a61759c4b09b48531a588ce350ca7516c54b37b64c32ca22c913a4c943d7a
Contents?: true
Size: 488 Bytes
Versions: 50
Compression:
Stored size: 488 Bytes
Contents
module Rake module TraceOutput # Write trace output to output stream +out+. # # The write is done as a single IO call (to print) to lessen the # chance that the trace output is interrupted by other tasks also # producing output. def trace_on(out, *strings) sep = $\ || "\n" if strings.empty? output = sep else output = strings.map { |s| s.end_with?(sep) ? s : s + sep }.join end out.print(output) end end end
Version data entries
50 entries across 37 versions & 18 rubygems