Topic: working with zip files within a zip file. (recursively)

Im want to automatically detect the zip files inside the zip file that it's currently working on, and unzip them altogether.

Im using rubyzip and I cant figure out how to create a ZipFile on the fly for a ZipEntry that itself is a zipped file and add the entries of the ZipEntry (which is a zipped file) to the entries of the new ZipFile.

Can anybody please help me with this?