Sha256: 0f9241527f196919370308c51e1edb46ccfc77c3fba6dfb8ad96824b72a3ff4c

Contents?: true

Size: 292 Bytes

Versions: 10

Compression:

Stored size: 292 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 =~ /S40OviBrowser/
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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