Sha256: a834303dcd757f5d7376f1a5cf01a9c34b9b899aaa30b1d495eee58271c94236
Contents?: true
Size: 309 Bytes
Versions: 4
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module Browser class SamsungBrowser < Chrome def id :samsung_browser end def name "Samsung Browser" end def full_version ua[%r{SamsungBrowser/([\d.]+)}, 1] || super end def match? ua =~ /SamsungBrowser/ end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
browser-5.1.0 | lib/browser/samsung_browser.rb |
browser-5.0.0 | lib/browser/samsung_browser.rb |
browser-4.2.0 | lib/browser/samsung_browser.rb |
browser-4.1.0 | lib/browser/samsung_browser.rb |