Skip to content

My enumerable#5

Open
nvalchanov96 wants to merge 1 commit into
HackBulgaria:masterfrom
nvalchanov96:niki-enumerable
Open

My enumerable#5
nvalchanov96 wants to merge 1 commit into
HackBulgaria:masterfrom
nvalchanov96:niki-enumerable

Conversation

@nvalchanov96

Copy link
Copy Markdown

My implementation of enumerable.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Няма нужда от сравнението == true

В Ruby всичко е true, освен fasle, и nil

@RadoRado

RadoRado commented Dec 3, 2015

Copy link
Copy Markdown

Пробвай част от методите да ги имплементираш използвайки другата част от методите, а не само each

Примерно, any? и all? могат ли да се имплементират с filter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants