Hi Folks, Real easy one for you probably. I'm just trying to split an array in half into 2 separate arrays that I can loop through and have seen the Partition method. Can anyone give me an example of how to use this, as I don't quite understand what it means by having a true_array and a false_array!?
Thanks a lot guys -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---