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::Source

< Object include Comparable include Gem::Text 25 instance methods 1 class methods

A Source knows how to list and fetch gems from a RubyGems marshal index.

There are other Source subclasses for installed gems, local gems, the Compact Index API and so-forth.

Class methods 1

Instance methods 25

Constants

Decoded compact index metadata for one content-addressable gem build: its version, content-address suffix, ruby_abi, and platform. Two infos are equal when their version and suffix match.

No documentation available
Attributes

uri

Read

The URI this source will fetch gems from.