method
write
v2_1_10 -
Show latest stable
- Class:
Gem::Security
write(pemmable, path, permissions = 0600, passphrase = nil, cipher = KEY_CIPHER)public
Writes pemmable, which must respond to to_pem to path with the given permissions. If passed cipher and passphrase those arguments will be passed to to_pem.