Skip to content

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

instance method

Gem::Command#get_all_gem_names_and_versions

get_all_gem_names_and_versions

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.