Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmoseka/decode-morse-code
A ruby program that debugs a morse code into a normal readable language
https://github.com/jmoseka/decode-morse-code
ruby
Last synced: about 1 month ago
JSON representation
A ruby program that debugs a morse code into a normal readable language
- Host: GitHub
- URL: https://github.com/jmoseka/decode-morse-code
- Owner: jmoseka
- License: mit
- Created: 2022-07-14T09:30:27.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2022-07-14T18:52:28.000Z (over 2 years ago)
- Last Synced: 2023-03-11T20:22:21.122Z (almost 2 years ago)
- Topics: ruby
- Language: Ruby
- Homepage:
- Size: 45.9 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MorseCode
> Using Ruby to solve basic coding challenges and decode morse code.
## Setup
- Install Ruby in local environment.
- Run a program using command line.## Prerequisites
- Understand Ruby basic syntax
- No linter errors.### Project requirements
- Create a method to decode a Morse code character, takes a string parameter, and return the corresponding character in uppercase (e.g. decode_char(".-") returns "A").
- Create a method to decode an entire word in Morse code, takes a string parameter, and return the string representation. Every character in a word will be separated by a single space (e.g. decode_word("-- -.--") returns "MY").
- Create a method to decode the entire message in Morse code, takes a string parameter, and return the string representation. Every word will be separated by 3 spaces (e.g.
decode("-- -.-- -. .- -- .")
returns "MY NAME").- Make sure that your code is DRY.
### Getting Started
To view the morse code;
a) Clone the project
```terminal
[email protected]:jmoseka/decode-morse-code.git
```
b) View the folder
- cd into the project directory```terminal
cd MorseCode.git
```- **Congrats!** you can now view the queries in your local computer.
## Authors
## Author 1:
👤 **Jamila Moseka**
- GitHub: [@jmoseka](https://github.com/jmoseka)
- Twitter: [@milamoseka](https://twitter.com/milamoseka)
- LinkedIn: [jamila-moseka](https://linkedin.com/in/jamila-moseka)## Author 2:
👤 **Brian Nyachae**- GitHub: [@githubBria222](https://github.com/Bria222)
- Twitter: [@briannyachae9](https://twitter.com/briannyachae9)
- LinkedIn: [Brian-Nyachae](https://linkedin.com/in/brian-nyachae)## Author 3:
👤 **Hammed Adisa**- GitHub: [@AbuRayhaan](https://github.com/aburayhaan)
- Twitter: [@ayinla2011](https://twitter.com/Ayinla2011)
- LinkedIn: [Hammed Adisa](https://linkedin.com/in/hammed-adisa)## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- Hat tip to anyone whose code was used
- Inspiration
- etc## 📝 License
This project is [MIT](https://github.com/jmoseka/decode-morse-code/blob/decode-morse-code/LICENSE) is licensed.