Ok, #[] and Enumerable is indeed, but in 1.x you cannot give locators to collections, e.g. elements(:class => 'something') is not supported.
Jarmo On Fri, Sep 10, 2010 at 11:18 AM, Jari Bakken <[email protected]> wrote: > On Fri, Sep 10, 2010 at 9:40 AM, Jarmo <[email protected]> wrote: >> But adding #[] to elements container wouldn't hurt i guess. This means >> that elements could behave like Array and include Enumerable. That >> would be cool. >> > > This is the case already (also in 1.X). > _______________________________________________ > Wtr-development mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-development > _______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
