[前][次][番号順一覧][スレッド一覧]

ruby-changes:62401

From: aycabta <ko1@a...>
Date: Mon, 27 Jul 2020 15:25:33 +0900 (JST)
Subject: [ruby-changes:62401] c4f8095e97 (master): Use typewriter notation for var[:sym] correctly

https://git.ruby-lang.org/ruby.git/commit/?id=c4f8095e97

From c4f8095e9732aa82669a45ea55b8c24200c5dae8 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Mon, 27 Jul 2020 15:23:52 +0900
Subject: Use typewriter notation for var[:sym] correctly


diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb
index eedb88c..58521b7 100644
--- a/lib/net/ftp.rb
+++ b/lib/net/ftp.rb
@@ -182,16 +182,16 @@ module Net https://github.com/ruby/ruby/blob/trunk/lib/net/ftp.rb#L182
     # 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.
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]