[DOC] URI::Generic#port returns Integer [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c6ad7a6272
commit
425118b898
@ -245,8 +245,8 @@ module URI
|
||||
|
||||
# Returns the port component of the URI.
|
||||
#
|
||||
# URI("http://foo/bar/baz").port #=> "80"
|
||||
# URI("http://foo:8080/bar/baz").port #=> "8080"
|
||||
# URI("http://foo/bar/baz").port #=> 80
|
||||
# URI("http://foo:8080/bar/baz").port #=> 8080
|
||||
#
|
||||
attr_reader :port
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user