Module: Hashie::Extensions::IndifferentAccess

Defined in:

lib/hashie/extensions/indifferent_access.rb

Overview

IndifferentAccess gives you the ability to not care
whether your hash has string or symbol keys. Made famous
in Rails for accessing query and POST parameters, this
is a handy tool for making sure your hash has maximum
utility.

One unique feature of this mixin is that it will recursively
inject itself into sub-hash instances without modifying
the actual class of the sub-hash.