lib/cowsay/character/base.rb in cowsay-0.0.2 vs lib/cowsay/character/base.rb in cowsay-0.0.3
- old
+ new
@@ -61,9 +61,11 @@
lines << new_line.chomp
new_line = ''
end
end
+ lines << new_line.chomp unless new_line.length.zero?
+
lines
end
end
end