inject is evil (by @tenderlove)
values = some_list.map { |val| [val, some_transform(val)] } Hash[values]