Answer Posted / Jaiveer Singh
Environment variables in Ruby can be accessed using the ENV hash. They are global variables that store strings of text that are available to processes during runtime. To set an environment variable, you can use the system method with the 'export' command.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers