ptsengineer (Peter Tsengineer)
- Login: ptsengineer
- Registered on: 01/10/2020
- Last sign in: 01/10/2020
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
01/10/2020
-
11:23 AM Ruby Bug #16498 (Closed): Hash#transform_values in 2.7.0 sets new hash's default to old hash's default_proc
- The following is unexpected for me.
```ruby
Hash.new { }.transform_values { }.default
# => #<Proc:0x000055eecda01510 -e:1>
Hash.new { }.transform_values { }[:any]
# => #<Proc:0x0000563a12e35510 -e:1>
Hash.new { :default }.transfo...