class RVM::Environment::CleanupWrapper
Implements a Ruby-like interface to cleanup, making it nicer to deal with.
Public Class Methods
Source
# File lib/rvm/environment/cleanup.rb, line 19 def initialize(parent) @parent = parent end
Public Instance Methods
Source
# File lib/rvm/environment/cleanup.rb, line 24 def all @parent.cleanup_all end
Cleans up archives, repos, sources and logs
Also aliased as: everything
Source
# File lib/rvm/environment/cleanup.rb, line 30 def archives @parent.cleanup_archives end
Cleans up everything in the archives folder
Source
# File lib/rvm/environment/cleanup.rb, line 47 def logs @parent.cleanup_logs end
Cleans up all of the logs
Source
# File lib/rvm/environment/cleanup.rb, line 35 def repos @parent.cleanup_repos end
Cleans up everything in the repos path
Also aliased as: repositories
Source
# File lib/rvm/environment/cleanup.rb, line 41 def sources @parent.cleanup_sources end
Cleans up everything in the source folder
Also aliased as: src