From 7e962a73799914e6355267c820283fea16be5804 Mon Sep 17 00:00:00 2001 From: akira Date: Thu, 23 Jun 2005 08:22:44 +0000 Subject: fixed typo in the example of URI.extract. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/common.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/uri/common.rb b/lib/uri/common.rb index cb00bc1148..d532d9abb6 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -541,8 +541,8 @@ module URI # # require "uri" # - # URI.extract("text here http://foo.bar.org/bla and here mailto:test@ruby.com and here also.") - # # => ["http://foo.bar.com/foobar", "mailto:foo@bar.com"] + # URI.extract("text here http://foo.example.org/bla and here mailto:test@example.com and here also.") + # # => ["http://foo.example.com/bla", "mailto:test@example.com"] # def self.extract(str, schemes = nil, &block) if block_given? -- cgit v1.2.3