Methods

Constants

SETS = { modern: { safari: 17.2, chrome: 120, firefox: 121, opera: 106, ie: false } }

Attributes

[R] request
[R] versions

Class Public methods

new(request, versions:)

📝 Source code
# File actionpack/lib/action_controller/metal/allow_browser.rb, line 70
        def initialize(request, versions:)
          @request, @versions = request, versions
        end
🔎 See on GitHub

Instance Public methods

blocked?()

📝 Source code
# File actionpack/lib/action_controller/metal/allow_browser.rb, line 74
        def blocked?
          user_agent_version_reported? && unsupported_browser?
        end
🔎 See on GitHub