summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2021-06-10 16:07:25 +0900
committernagachika <nagachika@ruby-lang.org>2021-06-10 16:07:25 +0900
commit02411b16afa615617b8076548571cc2cdd6a5228 (patch)
treed340d6c4a6484d1c43a10946d828430aef76136f /lib
parent6363492817d9dc73da836da852d7cb6a4ace3a8f (diff)
merge revision(s) 1b2abb6590a653cb7b31d73c42edbaf2d0617b27:
[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(-)
Diffstat (limited to 'lib')
-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?