зеркало из https://github.com/github/ruby.git
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:
Родитель
d7b5ef028b
Коммит
b6ecbc7055
|
@ -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?
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
Загрузка…
Ссылка в новой задаче