Class RVM::Environment::ToolsWrapper
In: lib/rvm/environment/tools.rb
Parent: Object

Ruby like wrapper for tools

Methods

Public Class methods

[Source]

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

Public Instance methods

[Source]

# File lib/rvm/environment/tools.rb, line 61
      def expand_string(ruby)
        strings(ruby)[ruby]
      end

Returns the current envs expanded identifier

[Source]

# File lib/rvm/environment/tools.rb, line 46
      def identifier
        @parent.tools_identifier
      end
identifier_for_path(path)

Alias for path_identifier

Returns the identifier for a path, taking into account things like an rvmrc

[Source]

# File lib/rvm/environment/tools.rb, line 52
      def path_identifier(path)
        @parent.tools_path_identifier(File.expand_path(path))
      end

[Source]

# File lib/rvm/environment/tools.rb, line 57
      def strings(*rubies)
        @parent.tools_strings(*rubies)
      end

[Validate]