diff options
-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 |