class method
self.new
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.2.22.5Signature
self.new(app, type = true)
No documentation comment.
Parameters
-
appreq -
typeopt = true
Source
# File actionpack/lib/action_dispatch/middleware/best_standards_support.rb, line 3
def initialize(app, type = true)
@app = app
@header = case type
when true
"IE=Edge,chrome=1"
when :builtin
"IE=Edge"
when false
nil
end
end
Defined in actionpack/lib/action_dispatch/middleware/best_standards_support.rb line 3
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::BestStandardsSupport