method

enrolled?

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

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

enrolled?()
private

No documentation available.

# File railties/lib/rails/commands/credentials/credentials_command/diffing.rb, line 23
    def enrolled?
      gitattributes.read.match?(/config\/credentials(\/\*)?\.yml\.enc diff=rails_credentials/)
    rescue Errno::ENOENT
      false
    end