This project is an attempt to clone the enumerable
methods of the ruby
programming language. The methods are listed below:
my_each
my_each_with_index
my_select
my_all
my_map
my_any
my_none
my_count
my_inject
To get a local copy up and running follow these simple example steps.
git clone https://github.com/abeidahmed/enumerable.git
cd enumerable
git checkout -b enumerable-feature
git pull origin enumerable-feature
- Run
ruby main.rb
- Clone the repository using the above instructions.
- Run
bundle exec guard
to automatically run the spec on file changes, or - Run
bundle exec rspec spec/enumerable_spec
to run the spec once.
๐ค abeidahmed
- GitHub: @abeidahmed
- Twitter: @iamhawaabi
- LinkedIn: Abeid Ahmed
๐ค john
- GitHub: @juduak_
- Twitter: @juduak_
- LinkedIn: Uduak John
Contributions, issues, and feature requests are welcome!
Give a โญ๏ธ if you like this project!
- Hat tip to Microverse for their
README
template.
Copyright 2020 Abeid Ahmed & Uduak John
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.