Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Gem::Command#get_one_optional_argument

get_one_optional_argument

Get a single optional argument from the command line. If more than one argument is given, return only the first. Return nil if none are given.