Forum: Ruby Re: array equality question

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ball, Donald A Jr (Library) (Guest)
on 2007-01-23 00:41
(Received via mailing list)
> => ["x", "y", "z"]
> equality.  Is there any particular reason for this behavior?
I'm very new to ruby, but note that the order of objects in arrays
traditionally is significant. Perhaps you want to use sets instead?

- donald
This topic is locked and can not be replied to.