ENV.to_a â Array
Class Public methods
Converts the environment variables into an array of names and value arrays.
1 | ENV .to_a # => [["TERM", "xterm-color"], ["SHELL", "/bin/bash"], ...] |
Converts the environment variables into an array of names and value arrays.
1 | ENV .to_a # => [["TERM", "xterm-color"], ["SHELL", "/bin/bash"], ...] |
Designed by : w10schools
service@w10schools.com
Please login to continue.