Tag: map

  • A hash map method that returns a hash

    I’ve just released another gem, this one extends Hash to contain another method called hmap. This solves a problem I face ofter: how to run a map in a hash that returns another hash, for example: {:a => 1, :b => 2, :c => 3} being converted into {:a => 2, :b => 3, :c…