Sha256: 5102eaeb13e978f3f0461a9b9910d7f643d59a3c5dae3d2421da53498f67d909

Contents?: true

Size: 267 Bytes

Versions: 6

Compression:

Stored size: 267 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.include?("Otter")
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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