Sha256: 190a5bac5cdd2764a297e043dbf6a1a9769b6d57d06675eb0cc8e9bedc1cbcd6

Contents?: true

Size: 299 Bytes

Versions: 6

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Nokia < Base
    def id
      :nokia
    end

    def name
      "Nokia S40 Ovi Browser"
    end

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

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