Forum: Ruby Re: array equality question

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E1f43bafda26307a050d11902752b2a6?d=identicon&s=25 Ball, Donald A Jr (Library) (Guest)
on 2007-01-22 23: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.