End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Command#defaults_str
defaults_str
lib/rubygems/command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/command.rb, line 269
def defaults_str
""
end
Override to display the default values of the command options. (similar to arguments, but displays the default values).
For example:
def defaults_str --no-gems-first --no-all end
See also
#create_option_parser
#deprecated?
#configure_options
#deprecate_option
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0