class Gem::Requirement

Requirement 是一组或多组版本限制。它支持一些不同的限制运算符 (=, !=, >, <, >=, <=, ~>)。

请参阅 Gem::Version,了解 RubyGems 中版本和需求如何协同工作。