Hey Jean-Philippe, Jean-Philippe Encausse a écrit : > My question was only a need of confirmation that the best way / > regular way to do what I want to do is to use find(). I think it is.
Well, yes. There are many, many uses cases that are best served by specific methods in Enumerable instead of a run-of-the-mill each... Just look at invoke and pluck, for instance! (not for your current need, though). > My other question about prototype version was also a confirmation. I > think that doing a "return in each()" in prototype 1.4 was not the > same behavior than in 1.5. But may be I mistake I don't remember... Actually, it worked exactly the same way. -- Christophe Porteneuve aka TDD [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
