From: Simon Harrison Date: 2011-04-04T06:07:29+09:00 Subject: Re: Splitting each_cons? Thanks guys. More options to try and remember! That's one of the things that bugs me a bit about Ruby. TMTOWTDI. each |film| film.first, film.last each |film| film.join each |label, volume| ... My brain would like: if you have an array with subarrays acting as key, value pairs, do this to access them. But, how am I to to decide which is the "best" option from the above? I suppose it depends on the situation. It becomes hard when every situation has multiple solutions and each solution may effect what to do next; which has multipe solutions etc. Still, I've tried Perl, Python, Lisp, C, C++, C#, Java, VB and probably more, but Ruby seems to make sense more than all of these. At least I've achieved something, eh? -- Posted via http://www.ruby-forum.com/.