Sha256: f63c130c4c353cb2771d19c2f7f417a06c3a865f07351ea43dbee3ff8ff76962
Contents?: true
Size: 377 Bytes
Versions: 6
Compression:
Stored size: 377 Bytes
Contents
# frozen_string_literal: true module Browser class Edge < InternetExplorer def id :edge end def name "Microsoft Edge" end def full_version ua[%r{(?:Edge|Edg)/([\d.]+)}, 1] || super end def match? ua =~ %r{((?:Edge|Edg)/[\d.]+|Trident/8)} end def chrome_based? match? && ua =~ /\bEdg\b/ end end end
Version data entries
6 entries across 6 versions & 1 rubygems