Sha256: 2e7d643b294e534f2f7f653f5f7f8bdc6056a1fb9e57d5b8f226e93e1f7d9b89

Contents?: true

Size: 243 Bytes

Versions: 7

Compression:

Stored size: 243 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

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/device/xbox_one.rb
browser-2.3.0 lib/browser/device/xbox_one.rb
browser-2.2.0 lib/browser/device/xbox_one.rb
browser-2.1.0 lib/browser/device/xbox_one.rb
browser-2.0.3 lib/browser/device/xbox_one.rb
browser-2.0.2 lib/browser/device/xbox_one.rb
browser-2.0.1 lib/browser/device/xbox_one.rb