1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

remove path_query

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2014-08-05 19:09:08 +00:00
parent d7b5ef028b
commit b6ecbc7055
2 changed files with 4 additions and 6 deletions

View file

@ -1,3 +1,7 @@
Wed Aug 6 01:16:47 2014 NARUSE, Yui <naruse@ruby-lang.org>
* lib/uri/generic.rb (URI::Generic#path_query): remove a private method.
Wed Aug 6 01:15:47 2014 NARUSE, Yui <naruse@ruby-lang.org>
* lib/uri/generic.rb (URI::Generic#normalize!): use String#empty?

View file

@ -1340,12 +1340,6 @@ module URI
end
end
# returns the assemble String with path and query components
def path_query
@query ? "#@path?#@query" : @path
end
private :path_query
#
# Constructs String from URI
#