method

vendor_gem

ruby latest stable - Class: Gem::TestCase
vendor_gem(name = 'a', version = 1)
public

A vendor_gem is used with a gem dependencies file. The gem created here has no files, just a gem specification for the given name and version.

Yields the specification to the block, if given