class RVM::Environment::CleanupWrapper

Implements a Ruby-like interface to cleanup, making it nicer to deal with.

Public Class Methods

new(parent) click to toggle source
# File lib/rvm/environment/cleanup.rb, line 19
def initialize(parent)
  @parent = parent
end

Public Instance Methods

all() click to toggle source

Cleans up archives, repos, sources and logs

# File lib/rvm/environment/cleanup.rb, line 24
def all
  @parent.cleanup_all
end
Also aliased as: everything
archives() click to toggle source

Cleans up everything in the archives folder

# File lib/rvm/environment/cleanup.rb, line 30
def archives
  @parent.cleanup_archives
end
everything()
Alias for: all
logs() click to toggle source

Cleans up all of the logs

# File lib/rvm/environment/cleanup.rb, line 47
def logs
  @parent.cleanup_logs
end
repos() click to toggle source

Cleans up everything in the repos path

# File lib/rvm/environment/cleanup.rb, line 35
def repos
  @parent.cleanup_repos
end
Also aliased as: repositories
repositories()
Alias for: repos
sources() click to toggle source

Cleans up everything in the source folder

# File lib/rvm/environment/cleanup.rb, line 41
def sources
  @parent.cleanup_sources
end
Also aliased as: src
src()
Alias for: sources