ENV is a hash-like accessor for environment variables.
ENV.keep_if { |name, value| } â HashENV.keep_if â Enumerator Class Public methods
ENV.select! { |name, value| } â ENV or nilENV.select! â Enumerator Class Public methods
ENV.length Class Public methods Returns the number of environment variables
ENV.replace(hash) â env Class Public methods Replaces the contents of the environment
ENV.store(name, value) â value Class Public methods Sets the environment variable
ENV.inspect â string Class Public methods Returns the contents of the environment
ENV.value?(value) â true or false Class Public methods Returns true
ENV.fetch(name) â valueENV.fetch(name, default) â valueENV.fetch(name) { |missing_name| ... } â value
ENV.to_hash â hashENV.to_h â hash Class Public methods Creates a hash
ENV.each_pair { |name, value| } â HashENV.each_pair â Enumerator Class Public methods
Page 4 of 5