i should have explained.
i thought about something more general, the method will receive a
block that for each array element deceide what should be the key and
what should be the value,
so that if elements are objects the caller will know the object's
schema, but the array_to_hash method doesn't need to know about it.
On Apr 9, 4:59 pm, Evgeny <
evgeny.zis...@gmail.com> wrote:
> First version was okay ... what you need the yield for ???
>