method

with_indifferent_access

v3.1.0 - Show latest stable - Class: Hash
with_indifferent_access()
public

Returns an +ActiveSupport::HashWithIndifferentAccess+ out of its receiver:

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