# File lib/apipie/extractor/writer.rb, line 328 def ensure_line_breaks(lines) if lines.to_a.size > 1 && lines.first !~ /\n\Z/ lines.map { |l| l !~ /\n\Z/ ? (l << "\n") : l }.to_enum else lines end end