method

fetch

rails latest stable - Class: EnvVars

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

fetch(env)
private

No documentation available.

# File tools/preview_docs.rb, line 87
    def self.fetch(env)
      ENV.fetch(env) { raise "#{env} env var undefined!" }
    end