Sha256: 88d7ab6febcc63c4c14fcfb073d67bcb8e52d9bfcab698f486bd6c38b03ed913

Contents?: true

Size: 249 Bytes

Versions: 5

Compression:

Stored size: 249 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Device
    class XboxOne < Base
      def id
        :xbox_one
      end

      def name
        "Xbox One"
      end

      def match?
        ua.match?(/Xbox One/i)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
browser-6.1.0 lib/browser/device/xbox_one.rb
browser-6.0.0 lib/browser/device/xbox_one.rb
browser-5.3.1 lib/browser/device/xbox_one.rb
browser-5.3.0 lib/browser/device/xbox_one.rb
browser-5.2.0 lib/browser/device/xbox_one.rb