From: Gavin Kistner Date: 2007-04-25T03:36:07+09:00 Subject: Re: Cards Class Gavin Kistner wrote: > Peter Marsh wrote: >> I don't quite understand this, however: >> >>> Cards = %w{ Deuce Three Four Five ... >>> Suits = %w{ Spades Hearts Diamonds Clubs } >> >> From what I've been able to work out it converts everything between {} >> into a string and then sticks that all in an array that Cards or Suits >> points to. Is this correct? > > http://phrogz.net/ProgrammingRuby/language.html#arrays ...which references: http://phrogz.net/ProgrammingRuby/language.html#generaldelimitedinput -- Posted via http://www.ruby-forum.com/.