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

ruby-changes:44789

From: nobu <ko1@a...>
Date: Mon, 21 Nov 2016 21:35:00 +0900 (JST)
Subject: [ruby-changes:44789] nobu:r56862 (trunk): ftp.rb: fix typo [ci skip]

nobu	2016-11-21 21:34:54 +0900 (Mon, 21 Nov 2016)

  New Revision: 56862

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56862

  Log:
    ftp.rb: fix typo [ci skip]
    
    * lib/net/ftp.rb (Net::FTP#initialize): [DOC] fix type in option
      name, :username is used but :use is not.

  Modified files:
    trunk/lib/net/ftp.rb
Index: lib/net/ftp.rb
===================================================================
--- lib/net/ftp.rb	(revision 56861)
+++ lib/net/ftp.rb	(revision 56862)
@@ -183,7 +183,7 @@ module Net https://github.com/ruby/ruby/blob/trunk/lib/net/ftp.rb#L183
     #             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[:user] is the string
+    # 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.

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

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