phalado / enumerable-ruby

Implementation of ruby enumerable methods

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby: Enumerable methods.

Within this repository you will find an implementation of some Ruby enumerable methods.

Getting started

First you need to clone the repository with the command:

git clone https://github.com/Chincoya/Capstone-Sneakers-Shop

on your command prompt. Then, copy the enumerable.rb file into your project's directory and load it into your program using:

require 'enumerable.rb'

The methods implemented are

#my_each
#my_each_with_index
#my_select
#my_all?
#my_any?
#my_none?
#my_count
#my_map
#my_inject

Testing

Several RSpec tests were implemented, checking regular and fringe cases, to assure functionality.

Author:

Daniel Chincoya | @chincoya7 Raphael Cordeiro | GitHub

About

Implementation of ruby enumerable methods


Languages

Language:Ruby 100.0%