class Hash
  def move(from, to)
    self[to] = delete(from) if has_key?(from)
    self
  end
end