Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/idiomag/helpers.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#keys_to_sym! ⇒ Object
2 3 4 |
# File 'lib/idiomag/helpers.rb', line 2 def keys_to_sym! return Hash.keys_to_sym(self) end |
#rename_key!(old_key, new_key) ⇒ Object
6 7 8 |
# File 'lib/idiomag/helpers.rb', line 6 def rename_key!(old_key, new_key) return Hash.rename_key(self, old_key, new_key) end |