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_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.