Small project developed with Ruby. This assignment is focused on the use of yield and passing a block to a method.
Explore the docs »
Report Bug
·
In this project we make an implementation of the bubble sort algorithm as a way to use yield:
The project was developed using the following technologies:
This project runs on Ruby
- Ruby
After installation, run ruby -v
to make sure Ruby installed correctly. Example
$ ruby -v
ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-linux]
Install the following to get this project running in your machine:
Follow these steps:
Clone the Repository
user@pc:~$ git clone https://github.com/YairFernando67/Bubble_Sort_Algorithm
Click on the console and to go to the folder that was created
user@pc:~$ cd Bubble_Sort_Algorithm
user@pc:~/Bubble_Sort_Algorithm$ bundle install
Now you can run the algorithm
user@pc:~/Bubble_Sort_Algorithm$ ruby bubble_sort.rb
👤 Yair Fernando Facio
- Github: @YairFernando67
- Twitter: @YairFernando18
- Linkedin: softwaredeveloperyairfacio
- Email: yair.facio11@gmail.com
- Portfolio: softwaredeveloper
👤 Kitzia Paola Vidal Marroquin
- Github: @kitpao
- Twitter: @Kitpao1
- Linkedin: kitzia-paola-vidal
- Email: kitpao91@gmail.com
- Portfolio: kitzia
Project Link: https://github.com/YairFernando67/Bubble_Sort_Algorithm
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!