mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
according to JIS/ISO, Array is not Comparable
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user