Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. 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.