# class Gem::Commands::SearchCommand

### Public Class Methods

new() click to toggle source
Calls superclass method `Gem::Command::new`

    # File lib/rubygems/commands/search_command.rb, line 8
    def initialize
      super 'search', 'Display remote gems whose name matches REGEXP',
           :domain => :remote, :details => false, :versions => true,
           :installed => nil, :version => Gem::Requirement.default

      add_query_options
    end