method

new

v2_1_10 - Show latest stable - Class: Gem::Dependency
new(name, *requirements)
public

Constructs a dependency with name and requirements. The last argument can optionally be the dependency type, which defaults to :runtime.