* 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
@ -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…
x
Reference in New Issue
Block a user