allows?(host)
public

No documentation available.

# File actionpack/lib/action_dispatch/middleware/host_authorization.rb, line 27
      def allows?(host)
        @hosts.any? do |allowed|
          allowed === host
        rescue
          # IPAddr#=== raises an error if you give it a hostname instead of
          # IP. Treat similar errors as blocked access.
          false
        end
      end