Class: Encrubto::Rot13::Encryptor
- Inherits:
-
Object
- Object
- Encrubto::Rot13::Encryptor
- Defined in:
- lib/encrubto/rot13/encryptor.rb
Constant Summary collapse
- ORI =
'abcdefghijklmnopqrstuvwxyz'
- ROT =
'nopqrstuvwxyzabcdefghijklm'
Instance Method Summary collapse
Instance Method Details
#decrypt(encrypted) ⇒ Object
15 16 17 |
# File 'lib/encrubto/rot13/encryptor.rb', line 15 def decrypt(encrypted) encrypt(encrypted) end |