Skip to content
On this page

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class · Ruby 4.1

Gem::Resolver::Specification

< Object 4 instance methods 1 class methods

A Resolver::Specification contains a subset of the information contained in a Gem::Specification. Only the information necessary for dependency resolution in the resolver is included.

Class methods 1

Instance methods 4

Attributes

The content address of this specification.

Read

The time this gem version was published, when the source provides it (compact index v2), nil otherwise.

The dependencies of the gem for this specification

Read

The name of the gem for this specification

Read

The platform this gem works on.

The required_ruby_version constraint for this specification.

The required_ruby_version constraint for this specification.

set

Read

The set this specification came from.

Read

The source for this specification

Read

The Gem::Specification for this Resolver::Specification.

Implementers, note that install updates @spec, so be sure to cache the Gem::Specification in @spec when overriding.

Read

The version of the gem for this specification.