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

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

Methods

Constants

TYPES = [ :development, :runtime, ]   Valid dependency types.

Attributes

name  [RW]  Dependency name or regular expression.
type  [R]  Dependency type.
version_requirements  [W]  Dependent versions.

Public Class methods

Constructs a dependency with name and requirements.

Public Instance methods

Orders dependencies by name only.

Uses this dependency as a pattern to compare to the dependency other. This dependency will match if the name matches the other‘s name, and other has only an equal version requirement that satisfies this dependency.

requirements_list()

Alias for requirement_list

[Validate]