mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue