class RVM::Environment::ToolsWrapper
Ruby like wrapper for tools
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
Source
# File lib/rvm/environment/tools.rb, line 46 def identifier @parent.tools_identifier end
Returns the current envs expanded identifier
Source
# File lib/rvm/environment/tools.rb, line 52 def path_identifier(path) @parent.tools_path_identifier(File.expand_path(path)) end
Returns the identifier for a path, taking into account things like an rvmrc
Also aliased as: identifier_for_path
Source
# File lib/rvm/environment/tools.rb, line 57 def strings(*rubies) @parent.tools_strings(*rubies) end