This is a Ruby module or reading and writing zip files.

WWW: http://rubyzip.sourceforge.net/