Simple ruby like wrapper for envs.
# File lib/rvm/environment/env.rb, line 41 def initialize(parent) @parent = parent end
Contents of the env file.
# File lib/rvm/environment/env.rb, line 46 def contents @parent.env_contents end
The path of the env file.
# File lib/rvm/environment/env.rb, line 53 def path @parent.env_path end
Opens a file on the env file.
# File lib/rvm/environment/env.rb, line 58 def to_file File.open(path) end