Class: Hashie::Hash
Overview
Direct Known Subclasses
Instance Method Summary collapse
-
#to_hash ⇒ Object
Ensure we always symbolize keys when calling #to_hash.
Methods inherited from Hash
#assert_valid_keys, #deep_stringify_keys, #deep_stringify_keys!, #deep_symbolize_keys, #deep_symbolize_keys!, #deep_transform_keys, #deep_transform_keys!, #dig, #dotted_paths, from_dotted_path, #stringify_keys, #stringify_keys!, #symbolize_keys, #symbolize_keys!, #transform_keys, #transform_keys!
Instance Method Details
#to_hash ⇒ Object
Ensure we always symbolize keys when calling #to_hash
5 6 7 |
# File 'lib/chozo/hashie_ext/hash.rb', line 5 def to_hash super.deep_symbolize_keys end |