method

convert_value_to_hash

rails latest stable - Class: ActiveSupport::HashWithIndifferentAccess

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

convert_value_to_hash(value)
private

No documentation available.

# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 405
      def convert_value_to_hash(value)
        if value.is_a? Hash
          value.to_hash
        elsif value.is_a?(Array)
          value.map { |e| convert_value_to_hash(e) }
        else
          value
        end
      end