1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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
This commit is contained in:
Gannon McGibbon 2021-01-20 20:09:33 -05:00 committed by Hiroshi SHIBATA
parent 2670509ebb
commit 1b2abb6590

View file

@ -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?