From: John W Higgins Date: 2009-07-28T03:40:11+09:00 Subject: Re: Set class and repetetive elements --0016e644ccb8302833046fb4316e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Good Day Marcin, 2009/7/27 Marcin G=F3rski > Hi, > .... > > It would be nice to have for example {5, 1, 1, 1} in Set class object. > Is it possible? Which method should I use to add element in that way? > From ruby-doc.org "Set implements a collection of unordered values with no duplicates." Is their some reason that an Array doesn't meet your needs? What does Set bring to the table that Array would be missing for you? John --0016e644ccb8302833046fb4316e--