method
deep_transform
v7.2.3 -
Show latest stable
- Class:
ActiveSupport::EncryptedConfiguration
deep_transform(hash)private
No documentation available.
# File activesupport/lib/active_support/encrypted_configuration.rb, line 84
def deep_transform(hash)
return hash unless hash.is_a?(Hash)
h = ActiveSupport::OrderedOptions.new
hash.each do |k, v|
h[k] = deep_transform(v)
end
h
end