Sha256: a0d972295fec17ecd19f9d021678e4368725958aacea8e15c664ea75471f3645
Contents?: true
Size: 346 Bytes
Versions: 7
Compression:
Stored size: 346 Bytes
Contents
# frozen_string_literal: true module Browser class Platform class BlackBerry < Base def match? ua =~ /BB10|BlackBerry/ end def name "BlackBerry" end def id :blackberry end def version ua[%r[(?:Version|BlackBerry[\da-z]+)/([\d.]+)], 1] end end end end
Version data entries
7 entries across 7 versions & 2 rubygems