dmarcotte (Daniel Marcotte)
- Login: dmarcotte
- Email: dmarcotte@gmail.com
- Registered on: 12/06/2013
- Last sign in: 12/06/2013
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
12/07/2013
-
12:25 AM Ruby Bug #9223 (Closed): Hash#reject!.size does not reflect changes to the hash
- Here's an example demonstrating the issue, comparing to the regular reject behavior:
h = {a: 'A', b: 'B'}
reject_enum = h.reject
reject_bang_enum = h.reject!
h[:c] = 'C'
p reject_enum.size # 3
p reject_bang_enum.size # 2