Project to re-build a few methods of Ruby Language.
Methods based on Enumerable module and Array class.
As described on documentation here Enumerable
and Array
Inject
- Requirements
- Built With
- Live Demo
- Quick Start
- Dependencies
- Contributing
- Acknowledgments
- Author
- License
- .each (Only one from Array)
- .each_with_index
- .select (Filter like)
- .all?
- .any?
- .none?
- .count
- .map
- .inject (Reduce like)
Re-make these methods and match with documentation expected behavior
- Create .multiply_els to test .inject
- Extends .map to accept procs
Should multiply all the elements of array together
- Ruby Language
- Rubocop (Linter) with Stickler (CI Tool)
- Git, Github and VScode
To get a local copy use:
git clone git@github.com:SevlaMare/enumerables.git
Ruby 2.5.5
Contributions, issues and feature requests are welcome!
You can do it on issues page.
A special thanks for the code reviewers.
👤 Thiago Miranda
- Github: @SevlaMare
- Twitter: #SevlaMare)
- Linkedin: SevlaMare)
Creative Commons