Task: Decompress a Gzip String in Ruby
Task: Decompress a Gzip String in Ruby: a task in Terminal-Lego-15k (Harbor dataset). Write a Ruby script that decompresses a gzip-compressed string in memory (without reading from a file). The script should demonstrate how to take a gzip-compressed binary string and decompress it back to the…
The task
Write a Ruby script that decompresses a gzip-compressed string in memory (without reading from a file). The script should demonstrate how to take a gzip-compressed binary string and decompress it back to the original plaintext content using Ruby's `Zlib` library.
Part of PrimeIntellect/Terminal-Lego-15k.