Gem::Command
# File rubygems/commands/mirror_command.rb, line 4 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
# File rubygems/commands/mirror_command.rb, line 19 def execute alert_error "Install the rubygems-mirror gem for the mirror command" end
This page was generated for Ruby 2.1.0
Ruby-doc.org is a service of James Britt and Neurogami, a software development company in Scottsdale, AZ.
Generated with Ruby-doc Rdoc Generator 0.33.0.