From: burdettelamar@yahoo.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:95008] [Ruby master Bug#16173] ENV.delete returns nil when name does not exist and block given
Date: Fri, 20 Sep 2019 19:32:46 +0000 (UTC) [thread overview]
Message-ID: <redmine.issue-16173.20190920193245.362ca49dd17d3d62@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-16173.20190920193245@ruby-lang.org
Issue #16173 has been reported by burdettelamar@yahoo.com (Burdette Lamar).
----------------------------------------
Bug #16173: ENV.delete returns nil when name does not exist and block given
https://bugs.ruby-lang.org/issues/16173
* Author: burdettelamar@yahoo.com (Burdette Lamar)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.6.4p104 (2019-08-28 revision 67798) [x64-mingw32]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
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 (961 Bytes)
--
https://bugs.ruby-lang.org/
next parent reply other threads:[~2019-09-20 19:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-16173.20190920193245@ruby-lang.org>
2019-09-20 19:32 ` burdettelamar [this message]
2019-09-20 23:10 ` [ruby-core:95009] [Ruby master Bug#16173] ENV.delete returns nil when name does not exist and block given XrXr
2019-09-21 7:09 ` [ruby-core:95012] " nobu
2019-09-21 15:55 ` [ruby-core:95017] " burdettelamar
2019-09-21 17:11 ` [ruby-core:95019] " burdettelamar
2019-09-22 18:40 ` [ruby-core:95038] " eregontp
2019-09-24 18:31 ` [ruby-core:95063] " burdettelamar
2019-09-24 19:10 ` [ruby-core:95065] " merch-redmine
2019-10-01 3:34 ` [ruby-core:95166] " nobu
2019-10-01 10:27 ` [ruby-core:95170] " nobu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.issue-16173.20190920193245.362ca49dd17d3d62@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).