Sha256: 2f7669778f3d2c5957fff655e764950872c4c6ccd20119db8e97b73272ef321f
Contents?: true
Size: 388 Bytes
Versions: 7
Compression:
Stored size: 388 Bytes
Contents
module Aua::Agents::EngineFallback def self.extend?(agent) agent.app == "Mozilla" && (agent.products.include?("AppleWebKit") || agent.products.include?("Gecko")) end def type :Browser end def name @name ||= begin return :AppleWebKit if products.include?("AppleWebKit") return :Gecko if products.include?("Gecko") nil end end end
Version data entries
7 entries across 7 versions & 1 rubygems