diff options
| author | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-23 08:22:44 +0000 |
|---|---|---|
| committer | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-23 08:22:44 +0000 |
| commit | ac52fbd78d675ebee44d93a722b198ba64d404b1 (patch) | |
| tree | 4470aa630281f363335ce67b4749bb56d5c3ee49 | |
| parent | 1ae3fd6bb72901da1b872d50a73de9f8e974d717 (diff) | |
| download | ruby-ac52fbd78d675ebee44d93a722b198ba64d404b1.tar.gz ruby-ac52fbd78d675ebee44d93a722b198ba64d404b1.tar.xz ruby-ac52fbd78d675ebee44d93a722b198ba64d404b1.zip | |
fixed typo in the example of URI.extract.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | lib/uri/common.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb index cb00bc114..d532d9abb 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? |
