ENV.update(hash) â HashENV.update(hash) { |name, old_value, new_value| } â Hash
Class Public methods
Adds the contents of hash to the environment variables. If no
block is specified entries with duplicate keys are overwritten, otherwise
the value of each duplicate name is determined by calling the block with
the key, its value from the environment and its value from the hash.