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_one_gem_name

get_one_gem_name

Get a single gem name from the command line. Fail if there is no gem name or if there is more than one gem name given.