Class: Gem::Dependency

Class | Gem::Dependency
In: | lib/rubygems/dependency.rb
Parent: | Object

The Dependency class holds a Gem name and a Gem::Requirement

### Methods

<=> hash new normalize requirement_list requirements_list version_requirements

### Attributes

name | [RW] |
version_requirements | [W] |

### Public Class methods

new(name, version_requirements)

Constructs the dependency

name: | [String] name of the Gem
version_requirements: | [String Array] version requirement (e.g. ["> 1.2"])

### Public Instance methods

<=>(other)
hash()
normalize()
requirement_list()
requirements_list()

Alias for requirement_list

version_requirements()

[Validate]