[Rubygems-developers] The yaml file.

Eric Hodel drbrain at segment7.net
Thu Mar 3 12:32:11 EST 2005

On 03 Mar 2005, at 04:20, Hugh Sasse Staff Elec Eng wrote:

> Questions that arise are:
> What actually is the compressed format used now, given that I can't
> read it except with ruby?


> require 'zlib'
> yaml_spec = File.open("./yaml.Z"){|f| f.read() }
> yaml_spec = Zlib::Inflate.inflate(yaml_spec)
> File.open('yaml', 'w'){|f| f.print yaml_spec }

Eric Hodel - drbrain at segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/rubygems-developers/attachments/20050303/66c9e512/PGP.bin

More information about the Rubygems-developers mailing list