Sha256: c74a7db24297a87535d1b1604f2e71b369a2357531b7b858c2b08fa1bd65a1bf
Contents?: true
Size: 285 Bytes
Versions: 6
Compression:
Stored size: 285 Bytes
Contents
# frozen_string_literal: true module Browser class Firefox < Base def id :firefox end def name "Firefox" end def full_version ua[%r[(?:Firefox|FxiOS)/([\d.]+)], 1] || "0.0" end def match? ua =~ /Firefox|FxiOS/ end end end
Version data entries
6 entries across 6 versions & 2 rubygems