ary == other_ary â bool
Instance Public methods
Equality â Two arrays are equal if they contain the same number of elements
and if each element is equal to (according to Object#==) the corresponding
element in other_ary
.
[ "a", "c" ] == [ "a", "c", 7 ] #=> false [ "a", "c", 7 ] == [ "a", "c", 7 ] #=> true [ "a", "c", 7 ] == [ "a", "d", "f" ] #=> false
Please login to continue.