An open API service indexing awesome lists of open source software.

https://github.com/imhta/enumerable_ruby

enumerable implementation in ruby
https://github.com/imhta/enumerable_ruby

Last synced: about 1 year ago
JSON representation

enumerable implementation in ruby

Awesome Lists containing this project

README

          

# enumerable_ruby
enumerable implementation in ruby

>The Enumerable mixin provides collection classes with several traversal and searching methods, and with the ability to sort. The class must provide a method each, which yields successive members of the collection. If `Enumerable#max`, `#min`, or `#sort` is used, the objects in the collection must also implement a meaningful <=> operator, as these methods rely on an ordering between members of the collection.
[know more](https://ruby-doc.org/core-2.6.3/Enumerable.html)

## Installation

#### Requirement
* Ruby 2.5.0+
* Gem 3.0.4+

#### Run

##### Clone
```
git clone https://github.com/MouhaDiouf/enumerable_testing
cd enumerable_testing
```

##### Bundle install

```
bundle install
```

##### Run test

```
rspec
```

## Live version
Repl.it => [Preview](https://repl.it/@ponmuthuselvam/enumerableruby)

## Author

* [@imhta](https://github.com/imhta)