From: Sam Duncan Date: 2011-03-01T13:01:35+09:00 Subject: Re: Comining Arrays On 01/03/11 16:45, RichardOnRails wrote: > > Hey David, > > Neat code, but I don't get it. > > %w( a b c ) yields an instance of class String. > ruby-1.9.2-p0 > %w( a b c ) => ["a", "b", "c"] ruby-1.9.2-p0 > %w( a b c ).kind_of?(String) => false ruby-1.9.2-p0 > %w( a b c ).kind_of?(Array) => true