method

extract_environment_from_path

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: CredentialsCommand
extract_environment_from_path(path) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/commands/credentials/credentials_command.rb, line 111
        def extract_environment_from_path(path)
          available_environments.find { |env| path.include? env } if path.end_with?(".yml.enc")
        end
Register or log in to add new notes.