Class: HashWithIndifferentAccess
- Defined in:
- lib/hash_symbolizer/core_ext/hash_with_indifferent_access.rb
Instance Method Summary collapse
-
#symbolize_keys(recursive = false) ⇒ Object
If recursive is set to true, keys at all levels will be symbolized.
Methods inherited from Hash
Instance Method Details
#symbolize_keys(recursive = false) ⇒ Object
If recursive is set to true, keys at all levels will be symbolized
5 6 7 |
# File 'lib/hash_symbolizer/core_ext/hash_with_indifferent_access.rb', line 5 def symbolize_keys(recursive = false) to_hash.symbolize_keys(recursive) end |