class Gem::Commands::GenerateIndexCommand

公共类方法

new() 点击切换源代码

remove_method(:initialize) 会发出警告,但移除 new 不会发出警告

# File 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