Morse Code Decoder is a Ruby implementation for decoding Morse code messages.
- Ruby
- Decode individual Morse code characters to uppercase letters.
- Decode entire words in Morse code to string representation.
- Decode entire messages in Morse code, preserving word separation.
- Create an instance of the
MorseCodeDecoder
class. - Provide a Morse code message using the
decode
method. - Get the decoded message in uppercase.
decoder = MorseCodeDecoder.new
message = ".- -... --- -..- ..-. ..- .-.. .-.. --- ..-. .-. ..- -... .. . ..."
decoded_message = decoder.decode(message)
puts decoded_message
👤 Kiko
- GitHub: @kit0-0
👤 Meryem
- GitHub: @meryemsanem
- Add Account System
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project you can share this project to your friend
I would like to thank microverse for this project
This project is licensed under the MIT License.