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
- Host: GitHub
- URL: https://github.com/imhta/enumerable_ruby
- Owner: imhta
- Created: 2019-07-12T14:14:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-09T11:48:35.000Z (almost 7 years ago)
- Last Synced: 2025-01-20T17:17:30.860Z (over 1 year ago)
- Language: Ruby
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)