method

add_gem_contents

ruby latest stable - Class: Gem::Package::TarOutput

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

add_gem_contents()
public

Yields a TarWriter for the data.tar.gz inside a gem-format tar file. The yielded TarWriter has been extended with a #metadata= method for attaching a YAML format Gem::Specification which will be written by add_metadata.