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
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
#<=>
#cache_dir
#compact_index_cache_dir
#compact_index_info_rows
#compact_index_requirements
#compact_index_uri
#compact_index_versions
#content_addressable_metadata
#content_addressable_tuples
#created_at
#created_at_for_tuple
#decode_content_addressable_tuples
#dependency_resolver_set
#download
#enforce_trailing_slash
#fetch_spec
#latest_platform_key
#load_compact_index_specs
#load_marshal_specs
#load_specs
#max_versions_by_platform
#new_dependency_resolver_set
#required_platform_from
#typo_squatting?
#update_cache?
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