From: Logan Capaldo Date: 2005-09-22T06:28:17+09:00 Subject: Re: %w On Sep 21, 2005, at 5:16 PM, Eustaquio Rangel de Oliveira Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hey, what %w exactly is (I mean, I know it's the string array > creator part)? > A method? From what object? > > Thanks! > > - -- > - ---------------------------- > Eust�quio "TaQ" Rangel > eustaquiorangel@yahoo.com > http://beam.to/taq > Usu�rio GNU/Linux no. 224050 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.7 (GNU/Linux) > > iD8DBQFDMc2+b6UiZnhJiLsRAj9SAJ9eO7x4Pnw2ceApWLKZII2cNEuxaQCeLbeI > cfhpQR0dCo8LHiAkFlcdqek= > =OUVs > -----END PGP SIGNATURE----- > > Its syntax (of the sugary variety). Just think about as being in the same category as x = [ 1,2,3 ] The [ and ,'s in this case aren't methods of anything persay, tis just the syntax for an array literal. %w is an alternate array literal syntax, it just does a bit more.