module Hashie::Extensions::IndifferentAccess
def self.inject!(hash)
a hash without modifying the actual class. This is what
This will inject indifferent access into an instance of
def self.inject!(hash) (class << hash; self; end).send :include, IndifferentAccess hash.convert! end