类 Gem::Commands::GenerateIndexCommand
公共类方法
源代码
# File lib/rubygems/commands/generate_index_command.rb, line 43 def self.new command = allocate command.send(:initialize, "generate_index", "Generates the index files for a gem server directory (requires rubygems-generate_index)") command end
remove_method(:initialize) 会发出警告,但是移除 new 不会发出警告