# File lib/facet/hash/swapkey%21.rb, line 18 def swapkey!( newkey, oldkey ) self[newkey] = self.delete(oldkey) if self.has_key?(oldkey) self end