method

new

v1_9_3_125 - Show latest stable - Class: Gem::Requirement
new(*requirements)
public

Constructs a requirement from requirements. Requirements can be Strings, Gem::Versions, or Arrays of those. nil and duplicate requirements are ignored. An empty set of requirements is the same as ">= 0".