according to JIS/ISO, Array is not Comparable

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-03-31 00:50:16 +09:00
parent 2a1273d3bb
commit a85fdbdba4
+1 -2
View File
@@ -112,11 +112,10 @@ class Array
end
##
# Array is enumerable and comparable
# Array is enumerable
class Array
# ISO 15.2.12.3
include Enumerable
include Comparable
##
# Sort all elements and replace +self+ with these