Is there a way to zip a string (either with a gem or standard lib) so that I can get the zipped result of a string? Example:
"hello world".zip #=> zipped version of string
Also, decompression would be nice if someone could include that in their solution.
You can use Zlib