From The Odin Project
Implement a caesar cipher that takes in a string and the shift factor and then outputs the modified string.
Use the following command to run the application
- from the root folder:
ruby caesar_cipher/caesar_cipher.rb OR
- from inside the caesar_cipher folder
ruby caesar_cipher.rbString: What a string! ===> Shift factor: 5
Cipher: Bmfy f xywnsl!
String: 1 2 3 4 5 ===> Shift factor: 15
Cipher: 6 7 8 9 0
String: The quick brown fox jumps over the lazy dog. ===> Shift factor: 2
Cipher: Vjg swkem dtqyp hqz lworu qxgt vjg ncba fqi.