summaryrefslogtreecommitdiff
path: root/lib/net
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2021-01-20 20:09:33 -0500
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-04-27 21:22:56 +0900
commit1b2abb6590a653cb7b31d73c42edbaf2d0617b27 (patch)
treec139243bf7e9fd091687b363e2a0c3ea0fc83310 /lib/net
parent2670509ebba5ba31a5bf34cf906943075446e005 (diff)
[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
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/ftp.rb2
1 files changed, 1 insertions, 1 deletions
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?