Ruby LanguageEnvironment Variables


Syntax

  • ENV[variable_name]
  • ENV.fetch(variable_name, default_value)

Remarks

Let get user profile path in a dynamic way for scripting under windows