Implements a Ruby-like interface to cleanup, making it nicer to deal with.
# File lib/rvm/environment/cleanup.rb, line 19 def initialize(parent) @parent = parent end
Cleans up archives, repos, sources and logs
# File lib/rvm/environment/cleanup.rb, line 24 def all @parent.cleanup_all end
Cleans up everything in the archives folder
# File lib/rvm/environment/cleanup.rb, line 30 def archives @parent.cleanup_archives end
Cleans up all of the logs
# File lib/rvm/environment/cleanup.rb, line 47 def logs @parent.cleanup_logs end
Cleans up everything in the repos path
# File lib/rvm/environment/cleanup.rb, line 35 def repos @parent.cleanup_repos end
Cleans up everything in the source folder
# File lib/rvm/environment/cleanup.rb, line 41 def sources @parent.cleanup_sources end