1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rubygems/commands/search_command.rb

18 lines
327 B
Ruby
Raw Normal View History

require 'rubygems/command'
require 'rubygems/commands/list_command'
class Gem::Commands::SearchCommand < Gem::Commands::ListCommand
def initialize
super 'search', 'Display all gems whose name contains STRING'
@defaults[:domain] = :remote
end
def defaults_str # :nodoc:
"--remote --no-details"
end
end