edge badge
Namespace
Methods
B
I
N
Attributes
[R] directives
Class Public methods
new()
# File actionpack/lib/action_dispatch/http/feature_policy.rb, line 92
def initialize
  @directives = {}
  yield self if block_given?
end
Instance Public methods
build(context = nil)
# File actionpack/lib/action_dispatch/http/feature_policy.rb, line 111
def build(context = nil)
  build_directives(context).compact.join("; ")
end
initialize_copy(other)
# File actionpack/lib/action_dispatch/http/feature_policy.rb, line 97
def initialize_copy(other)
  @directives = other.directives.deep_dup
end