# File lib/facets/core/hash/swapkey.rb, line 16 def swapkey!( newkey, oldkey ) self[newkey] = self.delete(oldkey) if self.has_key?(oldkey) self end