Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Command#get_all_gem_names_and_versions
get_all_gem_names_and_versions
lib/rubygems/command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/command.rb, line 201
def get_all_gem_names_and_versions
get_all_gem_names.map do |name|
extract_gem_name_and_version(name)
end
end
Get all [gem, version] from the command line.
An argument in the form gem:ver is pull apart into the gen name and version, respectively.
See also
#get_all_gem_names
#get_one_gem_name
#execute
#get_one_optional_argument
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0