bits 8
Using ENV.fetch("MY_ENV_VAR", default_value)
is preferred over ENV["MY_ENV_VAR"]
to specify the default value. Although I think it’s the same as ENV["MY_ENV_VAR"] || default_value
.
Using ENV.fetch("MY_ENV_VAR", default_value)
is preferred over ENV["MY_ENV_VAR"]
to specify the default value. Although I think it’s the same as ENV["MY_ENV_VAR"] || default_value
.