Class: Hash
Overview
Hash helpers
Instance Method Summary collapse
- #clone ⇒ Object
-
#deep_freeze ⇒ Object
Freeze all values in a hash.
- #deep_freeze! ⇒ Object
-
#deep_set(path, value) ⇒ Object
Set a nested hash value using an array.
- #deep_thaw ⇒ Object
- #deep_thaw! ⇒ Object
-
#stringify_keys ⇒ Object
Turn all keys into string.
-
#symbolize_keys ⇒ Object
Turn all keys into symbols.
Instance Method Details
#clone ⇒ Object
#deep_freeze ⇒ Object
Freeze all values in a hash
#deep_freeze! ⇒ Object
#deep_set(path, value) ⇒ Object
Set a nested hash value using an array
#deep_thaw ⇒ Object
#deep_thaw! ⇒ Object
#stringify_keys ⇒ Object
Turn all keys into string
Return a copy of the hash where all its keys are strings
#symbolize_keys ⇒ Object
Turn all keys into symbols