ruby-changes:51040
From: kazu <ko1@a...>
Date: Mon, 23 Apr 2018 21:09:27 +0900 (JST)
Subject: [ruby-changes:51040] kazu:r63247 (trunk): [DOC] URI::Generic#port returns Integer [ci skip]
kazu 2018-04-23 21:09:21 +0900 (Mon, 23 Apr 2018) New Revision: 63247 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63247 Log: [DOC] URI::Generic#port returns Integer [ci skip] Modified files: trunk/lib/uri/generic.rb Index: lib/uri/generic.rb =================================================================== --- lib/uri/generic.rb (revision 63246) +++ lib/uri/generic.rb (revision 63247) @@ -245,8 +245,8 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/generic.rb#L245 # 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/