examples/gzip.rb in bindata-2.0.0 vs examples/gzip.rb in bindata-2.1.0
- old
+ new
@@ -103,10 +103,10 @@
g.mtime.strftime('%H:%M'),
g.num_bytes,
g.footer.uncompressed_size,
ratio,
g.file_name]
- puts "Comment: #{g.comment}" if g.comment != ""
+ puts "Comment: #{g.comment}" if g.comment?
puts
puts "Executing gzip -l -v"
puts `gzip -l -v poetry.gz`
end