class Gem::Commands::MirrorCommand
公共类方法
new() 点击切换源码
调用父类方法
Gem::Command::new
# File rubygems/commands/mirror_command.rb, line 7 def initialize super("mirror", "Mirror all gem files (requires rubygems-mirror)") begin Gem::Specification.find_by_name("rubygems-mirror").activate rescue Gem::LoadError # no-op end end
公共实例方法
execute() 点击切换源码
# File rubygems/commands/mirror_command.rb, line 22 def execute alert_error "Install the rubygems-mirror gem for the mirror command" end