class Hash

def with_indifferent_access

{ a: 1 }.with_indifferent_access['a'] # => 1

Returns an ActiveSupport::HashWithIndifferentAccess out of its receiver:
def with_indifferent_access
  ActiveSupport::HashWithIndifferentAccess.new(self)
end