lib/roda/plugins/content_security_policy.rb
# The header value to use.
The header value to use.
The header value to use .
def header_value
          return @header_value if @header_value
          s = String.new
          @opts.each do |k, vs|
            s << k
            unless vs == true
              vs.each{|v| append_formatted_value(s, v)}
            end
            s << '; '
          end
          @header_value = s
        end
def header_value return @header_value if @header_value s = String . new @opts . each do | k , vs | s << k unless vs == true vs . each { | v | append_formatted_value ( s , v ) } end s << '; ' end @header_value = s end
The header value to use.
The header value to use .