lib/io_streams/zip/reader.rb in iostreams-1.2.1 vs lib/io_streams/zip/reader.rb in iostreams-1.3.0
- old
+ new
@@ -36,10 +36,10 @@
if entry_file_name.nil?
zin.get_next_entry
return true
end
- while entry = zin.get_next_entry
+ while (entry = zin.get_next_entry)
return true if entry.name == entry_file_name
end
false
end
else