Ruby like wrapper for tools
# File lib/rvm/environment/tools.rb, line 41 def initialize(parent) @parent = parent end
# File lib/rvm/environment/tools.rb, line 61 def expand_string(ruby) strings(ruby)[ruby] end
Returns the current envs expanded identifier
# File lib/rvm/environment/tools.rb, line 46 def identifier @parent.tools_identifier end
Returns the identifier for a path, taking into account things like an rvmrc
# File lib/rvm/environment/tools.rb, line 52 def path_identifier(path) @parent.tools_path_identifier(File.expand_path(path)) end
# File lib/rvm/environment/tools.rb, line 57 def strings(*rubies) @parent.tools_strings(*rubies) end