Equality: equal if they contain the same number of elements and if each element is equal to the corresponding element in the other array.
puts [ "a", "c" ] == [ "a", "c", 7 ]
puts [ "a", "c", 7 ] == [ "a", "c", 7 ]
puts [ "a", "c", 7 ] == [ "a", "d", "f" ]
Related examples in the same category