# File lib/facets/core/hash/replace_each.rb, line 4 def replace_each # :yield: dup.each_pair{ |k,v| delete( k ); update( yield(k,v) ); } self end