类 Gem::Commands::ListCommand

搜索以提供的参数开头的 gem。

公共类方法

new() 点击以切换源代码
调用父类方法 Gem::Command::new
# File rubygems/commands/list_command.rb, line 12
def initialize
  super "list", "Display local gems whose name matches REGEXP",
       domain: :local, details: false, versions: true,
       installed: nil, version: Gem::Requirement.default

  add_query_options
end