lib/more/facets/zlib.rb in facets-2.8.4 vs lib/more/facets/zlib.rb in facets-2.9.0.pre.1
- old
+ new
@@ -1,12 +1,12 @@
# A convenient wrapper for the zlib standard library that allows
# compression/decompression of strings with gzip.
module Zlib
- #class Stream < StringIO
- # def close; rewind; end
- #end
+ ##class Stream < StringIO
+ ## def close; rewind; end
+ ##end
# Decompresses a gzipped string.
def self.decompress(source)
GzipReader.new(StringIO.new(source)).read
end