Ruby on Rails 8.0.2 Class ActiveSupport::HashWithIndifferentAccess < Hash activesupport/lib/active_support/hash_with_indifferent_access.rb Hash With Indifferent Access Implements a hash where keys :foo and "foo" are considered to be the same. rgb = ActiveSupport::HashWithIndifferentAccess.new rgb[:black] = '#000000' rgb[:black] # => '#000000' rgb['black'] # => '#000000' rgb['white'] = '#FFFFFF' rg