mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
223798c50e
commit
7e962a7379
1 changed files with 2 additions and 2 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue