method

quick_gem

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: TestCase
quick_gem(name, version='2') public

Creates a Gem::Specification with a minimum of extra work. name and version are the gem’s name and version, platform, author, email, homepage, summary and description are defaulted. The specification is yielded for customization.

The gem is added to the installed gems in +@gemhome+ and the runtime.

Use this with #write_file to build an installed gem.

Show source
Register or log in to add new notes.