method

util_spec

v2_2_9 - Show latest stable - Class: Gem::TestCase
util_spec(name, version = 2, deps = nil)
public

Creates a spec with name, version. deps can specify the dependency or a block can be given for full customization of the specification.