Sha256: 57916e0cd522a5542514b07b36fc9d31b1e45d4e8000f416ee3a50bb2ae16df8
Contents?: true
Size: 345 Bytes
Versions: 10
Compression:
Stored size: 345 Bytes
Contents
# frozen_string_literal: true module Browser class BlackBerry < Base def id :blackberry end def name "BlackBerry" end def full_version ua[%r{BlackBerry[\da-z]+/([\d.]+)}, 1] || ua[%r{Version/([\d.]+)}, 1] || "0.0" end def match? ua =~ /BlackBerry|BB10/ end end end
Version data entries
10 entries across 10 versions & 1 rubygems