method
show
v6.0.0 -
Show latest stable
- Class:
Rails::Command::EncryptedCommand
show(file_path)public
No documentation available.
# File railties/lib/rails/commands/encrypted/encrypted_command.rb, line 40
def show(file_path)
require_application_and_environment!
encrypted = Rails.application.encrypted(file_path, key_path: options[:key])
say encrypted.read.presence || missing_encrypted_message(key: encrypted.key, key_path: options[:key], file_path: file_path)
end