method

write

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: EncryptedFile
write(contents) 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 60
    def write(contents)
      IO.binwrite "#{content_path}.tmp", encrypt(contents)
      FileUtils.mv "#{content_path}.tmp", content_path
    end
Register or log in to add new notes.