PATH:
opt
/
alt
/
ruby19
/
lib64
/
ruby
/
1.9.1
/
rubygems
/
commands
require 'rubygems/command' require 'rubygems/commands/query_command' ## # An alternate to Gem::Commands::QueryCommand that searches for gems starting # with the the supplied argument. class Gem::Commands::ListCommand < Gem::Commands::QueryCommand def initialize super 'list', 'Display gems whose name starts with STRING' remove_option('--name-matches') end def arguments # :nodoc: "STRING start of gem name to look for" end def defaults_str # :nodoc: "--local --no-details" end def usage # :nodoc: "#{program_name} [STRING]" end def execute string = get_one_optional_argument || '' options[:name] = /^#{string}/i super end end
[-] generate_index_command.rb
[edit]
[-] dependency_command.rb
[edit]
[-] search_command.rb
[edit]
[-] environment_command.rb
[edit]
[-] sources_command.rb
[edit]
[-] owner_command.rb
[edit]
[-] server_command.rb
[edit]
[-] contents_command.rb
[edit]
[-] push_command.rb
[edit]
[-] cleanup_command.rb
[edit]
[-] list_command.rb
[edit]
[-] setup_command.rb
[edit]
[-] query_command.rb
[edit]
[-] build_command.rb
[edit]
[-] uninstall_command.rb
[edit]
[-] stale_command.rb
[edit]
[-] fetch_command.rb
[edit]
[+]
..
[-] unpack_command.rb
[edit]
[-] rdoc_command.rb
[edit]
[-] install_command.rb
[edit]
[-] update_command.rb
[edit]
[-] pristine_command.rb
[edit]
[-] cert_command.rb
[edit]
[-] lock_command.rb
[edit]
[-] help_command.rb
[edit]
[-] check_command.rb
[edit]
[-] outdated_command.rb
[edit]
[-] which_command.rb
[edit]
[-] specification_command.rb
[edit]