Sha256: e2b2204f8885d46302d58dc8468aae9c131fce3127f80ab8dc1c36d74d96af7f

Contents?: true

Size: 281 Bytes

Versions: 6

Compression:

Stored size: 281 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Maxthon < Base
    def id
      :maxthon
    end

    def name
      "Maxthon"
    end

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

    def match?
      ua.match?(/Maxthon/i)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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