method

with_indifferent_access

v4.0.2 - Show latest stable - Class: Hash
with_indifferent_access()
public

Returns an ActiveSupport::HashWithIndifferentAccess out of its receiver:

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