Class Gem::Commands::ListCommand
In: lib/rubygems/commands/list_command.rb
Parent: QueryCommand

Methods

execute   new  

Public Class methods

[Source]

    # File lib/rubygems/commands/list_command.rb, line 8
 8:       def initialize
 9:         super 'list', 'Display gems whose name starts with STRING'
10: 
11:         remove_option('--name-matches')
12:       end

Public Instance methods

[Source]

    # File lib/rubygems/commands/list_command.rb, line 26
26:       def execute
27:         string = get_one_optional_argument || ''
28:         options[:name] = /^#{string}/i
29:         super
30:       end

[Validate]