mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/uri/generic.rb: [DOC] Fix typo
s/andn/and/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1ef0a76c6c
commit
54fdf15ad4
1 changed files with 1 additions and 1 deletions
|
|
@ -651,7 +651,7 @@ module URI
|
|||
# extract the host part of the URI and unwrap brackets for IPv6 addresses.
|
||||
#
|
||||
# This method is same as URI::Generic#host except
|
||||
# brackets for IPv6 (andn future IP) addresses are removed.
|
||||
# brackets for IPv6 (and future IP) addresses are removed.
|
||||
#
|
||||
# u = URI("http://[::1]/bar")
|
||||
# p u.hostname #=> "::1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue