diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-23 12:09:21 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-23 12:09:21 +0000 |
commit | 425118b89858ef3120c4ee9349070423b6c61856 (patch) | |
tree | 968eb185a11599c49d35d45a3d0e336057ca426c /lib | |
parent | c6ad7a6272ad3f43f9efffda61040ab9f46add47 (diff) |
[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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uri/generic.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb index 4791151965..799ad13471 100644 --- a/lib/uri/generic.rb +++ b/lib/uri/generic.rb @@ -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 |