Sha256: 99b198c17e1f78b812950a85fb85086783151de8dbb68ba9ddfae483d7639d80

Contents?: true

Size: 244 Bytes

Versions: 18

Compression:

Stored size: 244 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 =~ /Xbox One/i
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
browser-5.1.0 lib/browser/device/xbox_one.rb
browser-5.0.0 lib/browser/device/xbox_one.rb
browser-4.2.0 lib/browser/device/xbox_one.rb
browser-4.1.0 lib/browser/device/xbox_one.rb
browser-4.0.0 lib/browser/device/xbox_one.rb
browser-3.0.3 lib/browser/device/xbox_one.rb
browser-3.0.2 lib/browser/device/xbox_one.rb
browser-3.0.1 lib/browser/device/xbox_one.rb
browser-3.0.0 lib/browser/device/xbox_one.rb
browser-2.7.1 lib/browser/device/xbox_one.rb
browser-2.7.0 lib/browser/device/xbox_one.rb
browser-2.6.1 lib/browser/device/xbox_one.rb
browser-2.6.0 lib/browser/device/xbox_one.rb
browser-2.5.3 lib/browser/device/xbox_one.rb
browser-2.5.2 lib/browser/device/xbox_one.rb
browser-2.5.1 lib/browser/device/xbox_one.rb
browser-2.5.0 lib/browser/device/xbox_one.rb
browser-2.4.0 lib/browser/device/xbox_one.rb