ruby-changes:65008
From: Gannon <ko1@a...>
Date: Sat, 23 Jan 2021 10:20:45 +0900 (JST)
Subject: [ruby-changes:65008] 37258b64c7 (master): [ruby/net-http] Replace "iff" with "if and only if"
https://git.ruby-lang.org/ruby.git/commit/?id=37258b64c7 From 37258b64c759c0add4d97f79aeeda8ae4ffc3677 Mon Sep 17 00:00:00 2001 From: Gannon McGibbon <gannon.mcgibbon@g...> Date: Wed, 20 Jan 2021 20:16:22 -0500 Subject: [ruby/net-http] Replace "iff" with "if and only if" iff means if and only if, but readers without that knowledge might assume this to be a spelling mistake. To me, this seems like exclusionary language that is unnecessary. Simply using "if and only if" instead should suffice. https://github.com/ruby/net-http/commit/ffb87cad32 --- lib/net/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/http.rb b/lib/net/http.rb index 86fca18..629d678 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -524,7 +524,7 @@ module Net #:nodoc: https://github.com/ruby/ruby/blob/trunk/lib/net/http.rb#L524 # # { "cmd" => "search", "q" => "ruby", "max" => "50" } # - # This method also does Basic Authentication iff +url+.user exists. + # This method also does Basic Authentication if and only if +url+.user exists. # But userinfo for authentication is deprecated (RFC3986). # So this feature will be removed. # -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/