new(gem_repository, dry_run = false)
Creates a new Gem::Doctor that will clean up gem_repository. Only one gem repository may be cleaned at a time.
If dry_run is true no files or directories will be removed.
# File lib/rubygems/doctor.rb, line 44 def initialize gem_repository, dry_run = false @gem_repository = gem_repository @dry_run = dry_run @installed_specs = nil end