mrblib/array.rb: `Array#<=>` to handle `NoMethodError` exception.
Array element may not respond to `<=>` method.
@@ -167,11 +167,15 @@ class Array
n = other.size
len = n if len > n
i = 0
+ begin
while i < len
n = (self[i] <=> other[i])
return n if n.nil? || n != 0
i += 1
end
+ rescue NoMethodError
+ return nil
+ end
len = self.size - other.size
if len == 0
0
