aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-21 12:34:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-21 12:34:54 +0000
commitbb4b8921ab42af25bfba81d59344de5847f8683c (patch)
tree7785dab955ebf2cf8539e7db5dcd1b3c0b81743c /lib
parentd6a74a715d99f5c6d18f5d254b4af707c1266623 (diff)
downloadruby-bb4b8921ab42af25bfba81d59344de5847f8683c.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.rb2
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.