Class: XCCache::Installer::Rollback

Inherits:
XCCache::Installer show all
Defined in:
lib/xccache/installer/rollback.rb

Instance Method Summary collapse

Methods inherited from XCCache::Installer

#initialize, #lockfile, #perform_install, #projects, #save_projects, #sync_lockfile, #update_projects

Methods included from PkgMixin

#umbrella_pkg

Methods included from Config::Mixin

#config

Constructor Details

This class inherits a constructor from XCCache::Installer

Instance Method Details

#install!Object



4
5
6
7
8
9
10
# File 'lib/xccache/installer/rollback.rb', line 4

def install!
  update_projects do |project|
    UI.section("Rolling back cache for project #{project.display_name}".bold.green) do
      rollback_for_project(project)
    end
  end
end