Sha256: 9a95ee8caf799a69512990a35819e362982d42afa77d5e90d71af33f52c87198

Contents?: true

Size: 316 Bytes

Versions: 6

Compression:

Stored size: 316 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.include?("SamsungBrowser")
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
browser-6.2.0 lib/browser/samsung_browser.rb
browser-6.1.0 lib/browser/samsung_browser.rb
browser-6.0.0 lib/browser/samsung_browser.rb
browser-5.3.1 lib/browser/samsung_browser.rb
browser-5.3.0 lib/browser/samsung_browser.rb
browser-5.2.0 lib/browser/samsung_browser.rb