This is Enumerables project which includes some useful methods enumerates some basic Ruby public instance methods such as each, all, any and select.
- Ruby
Ruby installed on your local machine. Knowledge about Rspec and Ruby.
In this project, we used Rspec to test all the methods. do this steps: 1/navigate to "ruby_testing" directory inside the project 2/ run "rspec spec/enu_test.rb"
or just run this command(rspec ruby_testing/spec/enu_test.rb)
- In a terminal window type gem install RSpec
- Once RSpec install has finished, type RSpec --init
- You will see a folder spec and a file .rspec
- Inside the spec folder you'll see a spec_helper.rb file.
inside the repository, there is a RSpec-testing file called enu_test.
- go to the folder inside your terminal and type RSpec
👤 Author 1
- GitHub: @nganifaith
- Twitter: @Bright_Ngani
- LinkedIn: Kongnyu Faith Ngani
👤 Author 2
This project is MIT licensed..