lib/m3uzi.rb in m3uzi-0.1.6 vs lib/m3uzi.rb in m3uzi-0.2.0

- old
+ new

@@ -68,10 +68,10 @@ end def write_to_io(io_stream) check_version_restrictions io_stream << "#EXTM3U\n" - io_stream << "#EXT-X-VERSION:#{@version.to_i}" if @version > 1 + io_stream << "#EXT-X-VERSION:#{@version.to_i}\n" if @version > 1 comments.each do |comment| io_stream << "##{comment}\n" end tags.each do |tag| next if %w{M3U ENDLIST}.include?(tag.name.to_s.upcase)