This is the ruby solution for the bubble sort algorithm. The goal is to sort an array of any type of data, making use of user defined criteria, with the aid of yield
.
- Plain Ruby
This project was built using plain Ruby.
For testing this sorting algorithm, you need to install rspec
using gem
. You can find more about gem
in the Ruby documentation.
- Change to the repository directory:
cd ruby-1
- Run the tests using
rspec
:rspec --tty spec
.
👤 Oever González
- GitHub: @NoTengoBattery
- Twitter: @NoTengoBattery
- LinkedIn: Oever González
👤 Iyunda Ismael Antonio
- GitHub: @ixboy
- Twitter: @ismaelixboy
- LinkedIn: ismael-antonio
Contributions, issues, and feature requests are welcome!.
Give a ⭐️ if you like this project!.
This project is MIT licensed.