method
convert_value_to_hash
v8.0.0 -
Show latest stable
- Class:
ActiveSupport::HashWithIndifferentAccess
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