Sha256: 882fe2ce223fc70a735b64c09e7c08ae83a97ddc10299a65d9eb730daa071df9

Contents?: true

Size: 301 Bytes

Versions: 6

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

module Browser
  class GoogleSearchApp < Chrome
    def id
      :google_search_app
    end

    def name
      "Google Search App"
    end

    def full_version
      ua[%r{GSA/([\d.]+\d)}, 1] || super
    end

    def match?
      ua.include?("GSA")
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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