class ActionDispatch::ContentSecurityPolicy

def nonce_directive?(directive, nonce_directives)

def nonce_directive?(directive, nonce_directives)
  nonce_directives.include?(directive)
end