fursich (Onishi Koji)
- Login: fursich
- Email: fursich0@gmail.com
- Registered on: 09/12/2018
- Last sign in: 11/09/2019
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 1 | 2 |
Activity
12/05/2018
-
04:26 AM Ruby Feature #15380 (Open): faster method lookup for Array#all? #none? #one?
- ## summary
This PR proposes Array-specific implementations for `#all?` , `#none?` and `#one?` to enable faster method lookup.
Before this patch `Array#all?` was not implemented in Array class, so alternatively, `Enumerable#all?` wa...
10/10/2018
-
05:29 PM Ruby Feature #15113: Show warnings on unused blocks with Enumerable#all? any? one? none?
- Thank you for letting me know robert-san
Yes, looks like this has been quickly merged by nobu-san. (thanksfully enough!)
To your point on human errors, yes, that's actually my intent, so your positive feedback is really encouraging.
...
09/13/2018
-
07:05 AM Ruby Feature #15113 (Closed): Show warnings on unused blocks with Enumerable#all? any? one? none?
- Let Array#any? (and related enumerable methods alike) to express warnings in case blocks are left unused.
**Background**
Certain methods in Array silently ignore the given blocks without any warnings, which sometimes causes 'invisibl...