Paul Battley schrieb: > Wouldn't it be nice if inject did the same, though? E.g. > hash.inject([]){ |acc, key, value| ... } Paul, you have to use parentheses: hash.inject([]){ |acc, (key, value)| ... } Regards, Pit