method

extract_custom_environment

rails latest stable - Class: Rails::Command::CredentialsCommand

Method not available on this version

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

extract_custom_environment(path)
private

No documentation available.

# File railties/lib/rails/commands/credentials/credentials_command.rb, line 134
        def extract_custom_environment(path)
          path =~ %{config/credentials/(.+)\.yml\.enc} && $1
        end