rubyzip
RubyでZipファイルを解凍するときのサンプルコード - Qiita
オフィスファイルを解凍するときのサンプル
https://github.com/rubyzip/rubyzip#modify-docx-file-with-rubyzip