Source: show | on GitHub
# File actionpack/lib/action_dispatch/http/permissions_policy.rb, line 90 def initialize @directives = {} yield self if block_given? end
# File actionpack/lib/action_dispatch/http/permissions_policy.rb, line 109 def build(context = nil) build_directives(context).compact.join("; ") end
# File actionpack/lib/action_dispatch/http/permissions_policy.rb, line 95 def initialize_copy(other) @directives = other.directives.deep_dup end