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 | 96b22ba4f3794d522445c6924d9bef893eecd88b (patch) | |
tree | fb840208514dc78d9f6b031ced51b4d6a7cc315d /lib/uri | |
parent | 2647ecd10790ed03d2542d4a67fbbb7ef21ee8ff (diff) |
fixed typo in the example of URI.extract.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri')
-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 cb00bc1148..882ba7ae95 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.org/bla", "mailto:test@example.com"] # def self.extract(str, schemes = nil, &block) if block_given? |