Yes it will work in the same way but be called $w instead (like ruby's %w dito) It was checked into prototype svn a couple of days ago:
http://dev.rubyonrails.org/changeset/5679 Martin On 12/6/06, Michael Peters <[EMAIL PROTECTED]> wrote: > > > > Marius Feraru wrote: > > > Currently, my preferred way to doing things like this is: > > $(qw('e1 e2 e3')).invoke('hide'); > > > > ("qw" is like Perl's string to array sweetener) > > Sweet! Is Prototype getting qw() ? I was wishing I had that just a few hours > ago :) > > -- > Michael Peters > Developer > Plus Three, LP > > > > > -- burnfield.com/martin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
