Commit 8ab4cdf
committed
♻️ Set Config[:default] as alias of Config[VERSION]
The docs already claimed that `:default` was an alias for `:current`.
But, although they were equal to each other, they were not the same
object. Now they are one and the same.
This also fixes a minor inconsistency in `Config#inspect`, because
`Config[:default].named_default?` (incorrectly) returned `false`.1 parent 59e49bb commit 8ab4cdf
2 files changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
582 | 581 | | |
583 | 582 | | |
584 | 583 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
| |||
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
| 80 | + | |
84 | 81 | | |
85 | 82 | | |
86 | 83 | | |
| |||
0 commit comments