Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/doing/hash.rb
Overview
Hash helpers
Instance Method Summary collapse
-
#deep_freeze ⇒ description_of_the_return_value
Freeze all values in a hash.
- #deep_freeze! ⇒ Object
-
#deep_set(path, value) ⇒ Object
Set a nested hash value using an array.
-
#stringify_keys ⇒ Object
Turn all keys into string.
-
#symbolize_keys ⇒ Object
Turn all keys into symbols.
Instance Method Details
#deep_freeze ⇒ description_of_the_return_value
Freeze all values in a hash
#deep_freeze! ⇒ Object
#deep_set(path, value) ⇒ Object
Set a nested hash value using an array
#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