method

new

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: EncryptedFile
new(content_path:, key_path:, env_key:, raise_if_missing_key:) public

No documentation

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

Hide source
# File activesupport/lib/active_support/encrypted_file.rb, line 42
    def initialize(content_path,, key_path,, env_key,, raise_if_missing_key))
      @content_path = Pathname.new(content_path).yield_self { |path| path.symlink? ? path.realpath : path }
      @key_path = Pathname.new(key_path)
      @env_key, @raise_if_missing_key = env_key, raise_if_missing_key
    end
Register or log in to add new notes.