Method: Gem::Commands::ListCommand#initialize

Defined in:
lib/rubygems/commands/list_command.rb

#initializeListCommand

Returns a new instance of ListCommand.



12
13
14
15
16
17
18
# File 'lib/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