From d8438024a242e38ad8af87364ef69d1e111d9217 Mon Sep 17 00:00:00 2001 From: shugo Date: Sat, 31 Mar 2012 15:56:18 +0000 Subject: * 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 --- lib/net/ftp.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/net/ftp.rb') diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 4ea36cac32..ee4b75a146 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -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*') -- cgit v1.2.3