module Utils::XDG

def env_for(name, default:)

Returns:
  • (String) - The value of the environment variable or the default

Parameters:
  • default (String) -- The default value if the environment variable is not set
  • name (String) -- The name of the environment variable
def env_for(name, default:)
  ENV.fetch(name, default)
end