Project

General

Profile

Actions

Bug #16173

closed

ENV.delete returns nil when name does not exist and block given

Added by burdettelamar@yahoo.com (Burdette Lamar) about 5 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.4p104 (2019-08-28 revision 67798) [x64-mingw32]
[ruby-core:95008]
Tags:

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

diff.txt (2.22 KB) diff.txt burdettelamar@yahoo.com (Burdette Lamar), 09/21/2019 05:08 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0