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

* removed URI::Generic#to_ary.

* URI::Generic included URI.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akira 2002-12-16 00:52:32 +00:00
parent 46586b2096
commit 77d007dc05
2 changed files with 5 additions and 8 deletions

View file

@ -15,7 +15,7 @@
=end
module URI
VERSION_CODE = '000908'.freeze
VERSION_CODE = '000909'.freeze
VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze
end

View file

@ -20,6 +20,7 @@ Object
=end
class Generic
include URI
include REGEXP
=begin
@ -1085,7 +1086,7 @@ Object
end
if self.class == oth.class
self.normalize.to_ary == oth.normalize.to_ary
self.normalize.component_ary == oth.normalize.component_ary
else
false
end
@ -1101,17 +1102,13 @@ Object
# end
=begin
--- URI::Generic#to_a
=end
def to_ary
def component_ary
component.collect do |x|
self.send(x)
end
end
def to_a
to_ary
end
protected :component_ary
=begin
--- URI::Generic#select(*components)