Sha256: dd2bb461c9ef1dbbb7ccdb09154afffe98bed440da174fe7806639c4f754aff1
Contents?: true
Size: 323 Bytes
Versions: 10
Compression:
Stored size: 323 Bytes
Contents
# frozen_string_literal: true module Browser class Facebook < Base def id :facebook end def name "Facebook" end def full_version ua[%r{FBAV/([\d.]+)}, 1] || ua[%r{AppleWebKit/([\d.]+)}, 0] || "0.0" end def match? ua =~ /FBAV|FBAN/ end end end
Version data entries
10 entries across 10 versions & 1 rubygems