From 1b2abb6590a653cb7b31d73c42edbaf2d0617b27 Mon Sep 17 00:00:00 2001 From: Gannon McGibbon Date: Wed, 20 Jan 2021 20:09:33 -0500 Subject: [PATCH] [ruby/net-ftp] 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-ftp/commit/e920473618 --- lib/net/ftp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 3536e01ba3..bb746098df 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -1366,7 +1366,7 @@ module Net end # - # Returns +true+ iff the connection is closed. + # Returns +true+ if and only if the connection is closed. # def closed? @sock == nil or @sock.closed?