method

preprocess

v7.1.3.2 - Show latest stable - Class: Rails::Secrets
preprocess(path)
private

No documentation available.

# File railties/lib/rails/secrets.rb, line 82
        def preprocess(path)
          if path.end_with?(".enc")
            decrypt(IO.binread(path))
          else
            IO.read(path)
          end
        end