https://github.com/yothu/decode-morse
https://github.com/yothu/decode-morse
morse-code-converter ruby
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yothu/decode-morse
- Owner: Yothu
- Created: 2022-03-30T21:04:09.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-03-31T17:13:45.000Z (over 3 years ago)
- Last Synced: 2025-02-03T13:45:12.380Z (5 months ago)
- Topics: morse-code-converter, ruby
- Language: Ruby
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# DECODE MORSE
> This project is about creating a method that can decode morse code to readable letters and words.
## Built With
- Ruby
## Getting Started
Check the following instructions to install and use the project in you local machine!
### PrerequisitesTo begin with, you need to be able to use the **ruby** command, if you don't have it you can install it using any of these commands:
**MacOS**
```
brew install rbenv ruby-build
# Add rbenv to bash so that it loads every time you open a terminal
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile# Install Ruby
rbenv install 3.0.1
rbenv global 3.0.1
ruby -v
```**Ubuntu**
```
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELLgit clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELLrbenv install 3.0.1
rbenv global 3.0.1
ruby -v
```**Windows**
Use **[WSL](https://docs.microsoft.com/en-us/windows/wsl/about)**
### Setup
Once you have installed **ruby** you need to clone this project's repository, use this command in your terminal:
```
git clone https://github.com/Yothu/decode-morse.git
cd /decode-morse
```
### UsageTo use run the decode method use this command:
```
ruby ./decode.rb
```If you have successfully followed every step, you will get this in your terminal:
`A BOX FULL OF RUBIES`
## Author
👤 David Vergaray
- GitHub: [@Yothu](https://github.com/Yothu)
- Twiter: [@Daivhy](https://twitter.com/Daivhy)
- LinkedIn: [David Vergaray](https://www.linkedin.com/in/david-vergaray-almontes-051a11127/)e)## Show your support
Give a ⭐️ if you like this project!
## 📝 License
This project is [MIT](./MIT.md) licensed.