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