1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/net/ftp.rb: fixed the domain name in examples.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shugo 2012-03-31 15:56:18 +00:00
parent 3c491a92f6
commit d8438024a2
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Sun Apr 1 00:41:56 2012 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb: fixed the domain name in examples.
Sat Mar 31 21:39:45 2012 NARUSE, Yui <naruse@ruby-lang.org>
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): dup to prevent

View file

@ -41,7 +41,7 @@ module Net
#
# === Example 1
#
# ftp = Net::FTP.new('ftp.netlab.co.jp')
# ftp = Net::FTP.new('example.com')
# ftp.login
# files = ftp.chdir('pub/lang/ruby/contrib')
# files = ftp.list('n*')
@ -50,7 +50,7 @@ module Net
#
# === Example 2
#
# Net::FTP.open('ftp.netlab.co.jp') do |ftp|
# Net::FTP.open('example.com') do |ftp|
# ftp.login
# files = ftp.chdir('pub/lang/ruby/contrib')
# files = ftp.list('n*')