method

preprocess

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: Secrets
preprocess(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/secrets.rb, line 78
        def preprocess(path)
          if path.end_with?(".enc")
            decrypt(IO.binread(path))
          else
            IO.read(path)
          end
        end
Register or log in to add new notes.