{"title":" Zip/Ruby 0.2.6","blog_title":"so what","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20080713%2Fp1\" title=\" Zip/Ruby 0.2.6 - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","width":"100%","author_name":"winebarrel","published":"2008-07-13 00:00:04","url":"https://so-wh.at/entry/20080713/p1","type":"rich","version":"1.0","provider_url":"https://hatena.blog","blog_url":"https://so-wh.at/","description":"http://rubyforge.org/projects/zipruby/Zip/Ruby 0.2.6\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f\u3002 \u5909\u66f4\u70b9\u306f\u6b21\u306e\u3068\u304a\u308a\u3002 replace_buffer\u7b49\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u5927\u6587\u5b57/\u5c0f\u6587\u5b57\u3092\u533a\u5225\u3059\u308b\u3088\u3046\u306b\u3057\u305f Zip::Archive.open('foo.zip') do |ar| replace_buffer('hoge', <<-EOS) # \u30a8\u30f3\u30c8\u30ea\u540d\u304cHOGE\u3060\u3068\u30a8\u30e9\u30fc fuga EOS # \u5927\u6587\u5b57/\u5c0f\u6587\u5b57\u3092\u533a\u5225\u3057\u306a\u3044\u5834\u5408 replace_buffer('hoge', <<-EOS, Zip::FL_NOCASE) fuga EOS end commit\u30e1\u30bd\u30c3\u30c9\u3092\u8ffd\u52a0 \u2026","image_url":null,"provider_name":"Hatena Blog","categories":["RUBY"],"author_url":"https://blog.hatena.ne.jp/winebarrel/"}