class Rails::Command::CredentialsCommand

def extract_custom_environment(path)

def extract_custom_environment(path)
  path =~ %r{config/credentials/(.+)\.yml\.enc} && $1
end