instance method deep_transform

Ruby on Rails 8.0.4

Since v7.0.10 Private

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

deep_transform(hash)

No documentation comment.

Parameters

hash req
Source
# File activesupport/lib/active_support/encrypted_configuration.rb, line 102
      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

Defined in activesupport/lib/active_support/encrypted_configuration.rb line 102 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::EncryptedConfiguration

Type at least 2 characters to search.

↑↓ navigate · open · esc close