summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2020-07-27 15:23:52 +0900
committeraycabta <aycabta@gmail.com>2020-07-27 15:24:03 +0900
commitc4f8095e9732aa82669a45ea55b8c24200c5dae8 (patch)
treec9987db70bf802c6360d04a14a4d7f9ed43d5c08
parenta8e5f78585a1f135c039ac9002865d2b4937de12 (diff)
Use typewriter notation for var[:sym] correctly
-rw-r--r--lib/net/ftp.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb
index eedb88c49f..58521b76c5 100644
--- a/lib/net/ftp.rb
+++ b/lib/net/ftp.rb
@@ -182,16 +182,16 @@ module Net
# The available options are:
#
# port:: Port number (default value is 21)
- # ssl:: If options[:ssl] is true, then an attempt will be made
+ # ssl:: If +options+[:ssl] is true, then an attempt will be made
# to use SSL (now TLS) to connect to the server. For this
# to work OpenSSL [OSSL] and the Ruby OpenSSL [RSSL]
- # extensions need to be installed. If options[:ssl] is a
+ # extensions need to be installed. If +options+[:ssl] is a
# hash, it's passed to OpenSSL::SSL::SSLContext#set_params
# as parameters.
# private_data_connection:: If true, TLS is used for data connections.
- # Default: +true+ when options[:ssl] is true.
- # username:: Username for login. If options[:username] is the string
- # "anonymous" and the options[:password] is +nil+,
+ # Default: +true+ when +options+[:ssl] is true.
+ # username:: Username for login. If +options+[:username] is the string
+ # "anonymous" and the +options+[:password] is +nil+,
# "anonymous@" is used as a password.
# password:: Password for login.
# account:: Account information for ACCT.