method

hash_source?

rails latest stable - Class: ActionDispatch::ContentSecurityPolicy

Method not available on this version

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

hash_source?(source)
private

No documentation available.

# File actionpack/lib/action_dispatch/http/content_security_policy.rb, line 386
      def hash_source?(source)
        source.start_with?(*HASH_SOURCE_ALGORITHM_PREFIXES)
      end