method

save_gemspec

v2_5_5 - Show latest stable - Class: Gem::TestCase
save_gemspec(name = 'a', version = 1, directory = '.')
public

create_gemspec creates gem specification in given directory or ‘.’ for the given name and version.

Yields the specification to the block, if given