Sha256: 5d36b9af8b56399ba67728b1123e649095e28c172b01a2c02570c716b9742ddf

Contents?: true

Size: 288 Bytes

Versions: 5

Compression:

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

Version data entries

5 entries across 5 versions & 1 rubygems

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