thomas.sevestre (Thomas Sevestre)
- Login: thomas.sevestre
- Email: ts@tcare.fr
- Registered on: 10/27/2009
- Last sign in: 11/13/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/13/2014
-
12:40 PM Ruby Feature #10506 (Rejected): Imprve Enumerator.any? behavior
- IMHO the API `Enumerable.any?` behavior could be improved in the following manner:
any? { |obj| block } → true or false
any? → an_enumerator
This would allow to do things like
[].any?.with_index { |obj, index| }
...