Source: show | on GitHub
# File ../ruby/lib/rubygems/commands/search_command.rb, line 6 def initialize super 'search', 'Display all gems whose name contains STRING' remove_option '--name-matches' end
# File ../ruby/lib/rubygems/commands/search_command.rb, line 24 def execute string = get_one_optional_argument options[:name] = /#{string}/i super end