method
new
ruby latest stable - Class:
Gem::Commands::SearchCommand
new()public
No documentation available.
# File lib/rubygems/commands/search_command.rb, line 7
def initialize
super 'search', 'Display remote gems whose name matches REGEXP'
remove_option '--name-matches'
defaults[:domain] = :remote
end