Stefano Crocco wrote in post #1131358:

> I'm not sure what exactly you need. The following gives you a nested
> array where each inner array has the name as first element and the tags
> as second element. However, you still have to navigate this array.
>
> stuff.map{|h| [h[:name], h[:tags]]}
>
> In your example, this would give:
>
> [[:foo, {one: blah, two: blah}, ...]
>
> If this doesn't help, I think you'll need to tell us more about what you
> want to achieve.
>
> Stefano

I was hoping to be handed the value of :name and :tags right out of an
iterator in one fell swoop.  Maybe its just a two step process.

-- 
Posted via http://www.ruby-forum.com/.