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:
parent
2670509ebb
commit
1b2abb6590
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue