diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-21 12:34:54 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-21 12:34:54 +0000 |
commit | 8e3838707642a8209ec8deed32ac52f11007040b (patch) | |
tree | 7785dab955ebf2cf8539e7db5dcd1b3c0b81743c /lib | |
parent | 30cc5ce4bdd3fce63b49e41fd4dfd7a391d52407 (diff) | |
download | ruby-8e3838707642a8209ec8deed32ac52f11007040b.tar.gz |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/ftp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 7a07d27437..2f86edfdd5 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -183,7 +183,7 @@ module Net # 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. |