Sha256: 92e21848a90a3c25d55e78e9906283cfce8313d2cca62633868b1f7d5c43c67e

Contents?: true

Size: 260 Bytes

Versions: 10

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Otter < Base
    def id
      :otter
    end

    def name
      "Otter"
    end

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

    def match?
      ua =~ /Otter/
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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