From: botp Date: 2011-09-12T17:15:42+09:00 Subject: Re: Not 2 maps On Mon, Sep 12, 2011 at 1:13 PM, Josh Cheek wrote: > IDK, I feel like most places #inject is used, #with_object would be a better > choice. > > pre.each.with_object([]) do |inner_array, new_array| >  new_array << inner_array.map(&:to_i) > end totally agree, josh. but i still luv the inject magic. i can concentrate on the code block result, not some var.. kind regards -botp