Skip to content

Reimplementation of the Ruby Enumerable methods and testing with RSpec.

Notifications You must be signed in to change notification settings

brenoxav/Enumerables

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enumerables

Ruby Enumerable methods.

Reimplementation of the following Ruby Enumerable methods:

  • #each
  • #each_with_index
  • #select
  • #all
  • #any
  • #none
  • #count
  • #map
  • #inject
  • multiply_els

Built With

  • Ruby
  • Rubocop
  • RSpec

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • Ruby
  • a terminal

Setup

  • Clone or download this repository

Usage

  • cd into the project's directory
  • run Ruby passing the 'enumerables.rb' file
ruby enumerables.rb

Run tests

To run tests you need to have RSpec installed

gem install rspec

Go into the project's root directory and execute RSpec to run the tests

rspec

Authors

👨‍💻 Breno Xavier

👨‍💻 Carlos Gutierrez

🤝 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!

About

Reimplementation of the Ruby Enumerable methods and testing with RSpec.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%