From: Tim Hunter Date: 2005-08-31T21:26:24+09:00 Subject: Re: Ruby documentation typo Behrang Saeedzadeh wrote: > > I guess, the %w{ ant bee cat dog talk } must be %w[ ant bee cat dog > talk] as we're talking about arrays and not hashes. The character following %w can be any "non-alphabetic or non-multibyte character." (I'm quoting from pp. 303-304 in the 2nd Ed.) %w always creates an array of strings, regardless of what delimiter character you use.