Header
IE only
# File lib/secure_headers/headers/x_content_type_options.rb, line 11 def initialize(config=nil) @config = config validate_config unless @config.nil? end
# File lib/secure_headers/headers/x_content_type_options.rb, line 16 def name X_CONTENT_TYPE_OPTIONS_HEADER_NAME end
# File lib/secure_headers/headers/x_content_type_options.rb, line 20 def value case @config when NilClass DEFAULT_VALUE when String @config else @config[:value] end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.