Sha256: a03f829a9e419de27d7530bcb06468984a18d57b605350909de2a914413fb51f

Contents?: true

Size: 340 Bytes

Versions: 7

Compression:

Stored size: 340 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 =~ /Firefox/
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

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