method
change_encrypted_file_in_system_editor
v6.0.0 -
Show latest stable
- Class:
Rails::Command::EncryptedCommand
change_encrypted_file_in_system_editor(file_path, key_path)private
No documentation available.
# File railties/lib/rails/commands/encrypted/encrypted_command.rb, line 57
def change_encrypted_file_in_system_editor(file_path, key_path)
Rails.application.encrypted(file_path, key_path: key_path).change do |tmp_path|
system("#{ENV["EDITOR"]} #{tmp_path}")
end
end