class ActionDispatch::ContentSecurityPolicy
def build(context = nil, nonce = nil, nonce_directives = nil)
def build(context = nil, nonce = nil, nonce_directives = nil) nonce_directives = DEFAULT_NONCE_DIRECTIVES if nonce_directives.nil? build_directives(context, nonce, nonce_directives).compact.join("; ") end