Skip to content

Commit

Permalink
Replace "iff" with "if and only if"
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gmcgibbon committed Jan 21, 2021
1 parent 5031aa7 commit e920473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net/ftp.rb
Expand Up @@ -1356,7 +1356,7 @@ def close
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?
Expand Down

0 comments on commit e920473

Please sign in to comment.