Sha256: b68d3600aac48779543d67ae232b9241728678d05728c5870d2135e377ad09db

Contents?: true

Size: 348 Bytes

Versions: 5

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Platform
    class FirefoxOS < Base
      def version
        "0"
      end

      def name
        "Firefox OS"
      end

      def id
        :firefox_os
      end

      def match?
        ua !~ /(Android|Linux|BlackBerry|Windows|Mac)/ && ua.include?("Firefox")
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
browser-6.1.0 lib/browser/platform/firefox_os.rb
browser-6.0.0 lib/browser/platform/firefox_os.rb
browser-5.3.1 lib/browser/platform/firefox_os.rb
browser-5.3.0 lib/browser/platform/firefox_os.rb
browser-5.2.0 lib/browser/platform/firefox_os.rb