Sha256: af1744753eddc10819878ffa066a33fb02236d37fcc0566729b51a7c84cda870
Contents?: true
Size: 299 Bytes
Versions: 5
Compression:
Stored size: 299 Bytes
Contents
# frozen_string_literal: true module Browser class MiuiBrowser < Base def id :miui_browser end def name "Miui Browser" end def full_version ua[%r{MiuiBrowser/([\d.]+)}, 1] || "0.0" end def match? ua.include?("MiuiBrowser") end end end
Version data entries
5 entries across 5 versions & 1 rubygems