module Rails::Command::CredentialsCommand::Diffing

def disenroll_project_from_credentials_diffing

def disenroll_project_from_credentials_diffing
  if enrolled_in_credentials_diffing?
    gitattributes.write(gitattributes.read.gsub(GITATTRIBUTES_ENTRY, ""))
    gitattributes.delete if gitattributes.empty?
    say "Disenrolled project from credentials file diffing!"
  else
    say "Project is not enrolled in credentials file diffing."
  end
end