类 Gem::Commands::SearchCommand

公共类方法

new() 点击切换源代码
调用父类方法 Gem::Command::new
# File rubygems/commands/search_command.rb, line 9
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