以下の内容はhttps://so-wh.at/entry/20080422/p2より取得しました。


Zip/Ruby α版

※リリースしました
libzipのRubyバインディング
とりあえず。

サンプル

require 'zipruby'

Zip::Archive.open('test.zip', Zip::CREATE) do |ar|
  Dir.glob('../ext/*.c').each do |i|
    ar.add_file(i)
  end
end
require 'zipruby'

Zip::Archive.open('test.zip') do |ar|
  ar.num_files.times do |i|
    ar.fopen(i) do |f|
      puts f.stat.name
      puts f.read
    end
  end
end



以上の内容はhttps://so-wh.at/entry/20080422/p2より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14