Actions
Bug #16173
closedENV.delete returns nil when name does not exist and block given
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.4p104 (2019-08-28 revision 67798) [x64-mingw32]
Backport:
Description
Attached diff.txt:
- ENV.delete for nonexistent name and block given:
- Test enhanced to verify return value is nil.
- Documentation corrected to say that return value is nil, not value.
Files
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0