Sha256: 2554e5e83ab2e73279e6f3d50c24e35f762c319629a5dd73850b983d80537c90

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true
module Browser
  class Firefox < Base
    def id
      :firefox
    end

    def name
      "Firefox"
    end

    def full_version
      ua[%r[(?:Firefox|FxiOS)/([\d.]+)], 1]
    end

    def match?
      ua =~ /Firefox|FxiOS/
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
browser-2.0.1 lib/browser/firefox.rb