method

key_ignore

key_ignore(key_path)
private

No documentation available.

# File railties/lib/rails/generators/rails/encryption_key_file/encryption_key_file_generator.rb, line 58
        def key_ignore(key_path)
          key_path = Pathname.new(key_path) unless key_path.is_a?(Pathname)
          <<~IGNORE

            # Ignore key files for decrypting credentials and more.
            /#{key_path.dirname.join("*.key")}

          IGNORE
        end
    end
  end
end