Environment Variables
suggest changeSyntax
ENV[variable_name]ENV.fetch(variable_name, default_value)
Remarks
Read the user-profile path dynamically when scripting on Windows. ENV.fetch raises KeyError if the name is missing and no default is given.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents