class Hash

def transform_keys!

Same as transform_keys but modifies +self+.
Destructively convert all keys using the block operations.
def transform_keys!
  keys.each do |key|
    self[yield(key)] = delete(key)
  end
  self
end