Sha256: 6236c78a366471eb6357f39f28e3d6d73653da7ee43ff0195715045e0abf5717

Contents?: true

Size: 291 Bytes

Versions: 6

Compression:

Stored size: 291 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

6 entries across 6 versions & 2 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/browser-2.3.0/lib/browser/nokia.rb
browser-2.3.0 lib/browser/nokia.rb
browser-2.2.0 lib/browser/nokia.rb
browser-2.1.0 lib/browser/nokia.rb
browser-2.0.3 lib/browser/nokia.rb
browser-2.0.2 lib/browser/nokia.rb