ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: burdettelamar@yahoo.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:95063] [Ruby master Bug#16173] ENV.delete returns nil when name does not exist and block given
Date: Tue, 24 Sep 2019 18:31:27 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-81696.20190924183126.07dc57c903df025f@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-16173.20190920193245@ruby-lang.org

Issue #16173 has been updated by burdettelamar@yahoo.com (Burdette Lamar).


I, being a member only of The Outer Party, can't merge anything here.

I'm agnostic on whether the change should be to the documentation or to the code.  My part was just to note the discrepancy.

Can someone in The Inner Party take action?

Thanks,
Burdette

----------------------------------------
Bug #16173: ENV.delete returns nil when name does not exist and block given
https://bugs.ruby-lang.org/issues/16173#change-81696

* 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 (2.22 KB)


-- 
https://bugs.ruby-lang.org/

  parent reply	other threads:[~2019-09-24 18:31 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 ` [ruby-core:95008] [Ruby master Bug#16173] ENV.delete returns nil when name does not exist and block given burdettelamar
2019-09-20 23:10 ` [ruby-core:95009] " 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 ` burdettelamar [this message]
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.journal-81696.20190924183126.07dc57c903df025f@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).