Sha256: 16a1947c8bce69c4403a8c8e04cda19e992cecf36a2f9c24405f07a93f492ef4
Contents?: true
Size: 347 Bytes
Versions: 10
Compression:
Stored size: 347 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
10 entries across 10 versions & 1 rubygems