guigs (Guilherme Goettems Schneider)
- Login: guigs
- Email: guigs81@gmail.com
- Registered on: 12/06/2013
- Last sign in: 10/30/2023
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 0 | 0 |
Activity
12/06/2013
-
10:37 PM Ruby Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
- I think current implementation of Numeric#nonzero? is fine, because, as was said, a predicate is expected to return truthy or falsey values.
On the other hand, Numeric#nonzero? should only be used as a predicate. So one should not rel...