From: Paul Novak Date: 2006-04-04T19:55:34+09:00 Subject: Re: [QUIZ] Testing DiGraph (#73) ------=_Part_3266_22134291.1144148131103 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This is a very interesting quiz, but it takes some time just to understand the problem domain, if it is new to you. I second the idea of extending this quiz. Regards, Paul. On 4/4/06, Robert Feldt wrote: > > On 4/4/06, Himadri Choudhury wrote: > > Then you have to manually enter all the edges? > > I wanted to be able to pass an array of edges, so that the array can be > > generated programmatically. > > > Well this is valid in Ruby and should give a hint (notch, notch): > > def m(*a) > p a > end > > m(1, 2) # =3D> [1,2] > a =3D [3,4] > m(*a) # =3D> [3,4] > > Best Regards, > > Robert > > ------=_Part_3266_22134291.1144148131103--