Methods

Class Index [+]

Quicksearch

Gem::Commands::SearchCommand

Public Class Methods

new() click to toggle source
    # File lib/rubygems/commands/search_command.rb, line 6
 6:   def initialize
 7:     super 'search', 'Display all gems whose name contains STRING'
 8: 
 9:     remove_option '--name-matches'
10:   end

Public Instance Methods

execute() click to toggle source
    # File lib/rubygems/commands/search_command.rb, line 24
24:   def execute
25:     string = get_one_optional_argument
26:     options[:name] = /#{string}/
27:     super
28:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.