Class RVM::Environment::CleanupWrapper
In: lib/rvm/environment/cleanup.rb
Parent: Object

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

Methods

all   archives   everything   logs   new   repos   repositories   sources   src  

Public Class methods

[Source]

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

Public Instance methods

Cleans up archives, repos, sources and logs

[Source]

# File lib/rvm/environment/cleanup.rb, line 24
      def all
        @parent.cleanup_all
      end

Cleans up everything in the archives folder

[Source]

# File lib/rvm/environment/cleanup.rb, line 30
      def archives
        @parent.cleanup_archives
      end
everything()

Alias for all

Cleans up all of the logs

[Source]

# File lib/rvm/environment/cleanup.rb, line 47
      def logs
        @parent.cleanup_logs
      end

Cleans up everything in the repos path

[Source]

# File lib/rvm/environment/cleanup.rb, line 35
      def repos
        @parent.cleanup_repos
      end
repositories()

Alias for repos

Cleans up everything in the source folder

[Source]

# File lib/rvm/environment/cleanup.rb, line 41
      def sources
        @parent.cleanup_sources
      end
src()

Alias for sources

[Validate]