Skip to content

SajjadAhmad14/Enumerables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enumerables (Own implementation of some of Enumerables methods)

screenshot screenshot

  • We implemented #my_each, #my_each_with_index, #my_select, #my_all?, #my_any?, #my_none?, #my_count, #my_map, #my_inject These methods are coded without using any Enumerable library method.

Rspec Testing

  • Spec tests using Rspec have been added in spc folder for all the enumerable methods
  • Each method has a separate describe block and each testing aspect is covered with it block
  • Used describe block, it block, expect and eql methods.
  • Variables for testing purpose are created with let
  • You can run the tests by simply running rspec or rspec --format documentation for more formated results on command line

Built With

  • Ruby
  • Ruby Core API, Rspec, Rubocop, Cammand Line, Git & Github

Live Demo

Live Demo Link

Getting Started

You can clone or fork the project and start using it in your own projects.

Authors

👤 Sajjad Ahmad

👤 Tadeua Sarro

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages