Class: Hash
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#rekey!(keys) ⇒ Object
27 28 29 30 31 |
# File 'lib/amazon-associates/extensions/core.rb', line 27 def rekey!(keys) keys.each_pair do |old, new| store(new, delete(old)) if has_key?(old) end end |