class Browser::Edge

def chromium_based?

def chromium_based?
  match? && ua.match?(/\bEdg\b/)
end

def full_version

def full_version
  ua[%r{(?:Edge|Edg|EdgiOS|EdgA)/([\d.]+)}, 1] || super
end

def id

def id
  :edge
end

def match?

def match?
  ua.match?(%r{((?:Edge|Edg|EdgiOS|EdgA)/[\d.]+|Trident/8)})
end

def name

def name
  "Microsoft Edge"
end