Sha256: 252f2951747ca73078148ef199043171f55ead8058a5639e23cb289df7530c7a

Contents?: true

Size: 281 Bytes

Versions: 10

Compression:

Stored size: 281 Bytes

Contents

# frozen_string_literal: true

module Browser
  class UCBrowser < Base
    def id
      :uc_browser
    end

    def name
      "UCBrowser"
    end

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

    def match?
      ua =~ /UCBrowser/
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
browser-5.1.0 lib/browser/uc_browser.rb
browser-5.0.0 lib/browser/uc_browser.rb
browser-4.2.0 lib/browser/uc_browser.rb
browser-4.1.0 lib/browser/uc_browser.rb
browser-4.0.0 lib/browser/uc_browser.rb
browser-3.0.3 lib/browser/uc_browser.rb
browser-3.0.2 lib/browser/uc_browser.rb
browser-3.0.1 lib/browser/uc_browser.rb
browser-3.0.0 lib/browser/uc_browser.rb
browser-2.7.1 lib/browser/uc_browser.rb