From: Michael Witrant Date: 2001-10-05T06:38:36+09:00 Subject: [ruby-talk:22103] Re: gzip a string On Fri, 5 Oct 2001 06:02:11 +0900, Tobias Reif wrote: > > how to gzip a string? > require 'zlib' str = Zlib::ZStream.deflate "hello" Zlib::Inflate.inflate str # => "hello" RAA entry: http://www.ruby-lang.org/en/raa-list.rhtml?name=Ruby%2Fzlib English doc: http://www.blue.sky.or.jp/atelier/ruby/zlib.en.html Mike. midulo.