Sha256: b5eecb069cb91bf6c1f53199b95ef2aa032a6e4e8bfceda0eddde6819b2ccc07

Contents?: true

Size: 240 Bytes

Versions: 18

Compression:

Stored size: 240 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Device
    class Xbox360 < Base
      def id
        :xbox_360
      end

      def name
        "Xbox 360"
      end

      def match?
        ua =~ /Xbox/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_360.rb
browser-5.0.0 lib/browser/device/xbox_360.rb
browser-4.2.0 lib/browser/device/xbox_360.rb
browser-4.1.0 lib/browser/device/xbox_360.rb
browser-4.0.0 lib/browser/device/xbox_360.rb
browser-3.0.3 lib/browser/device/xbox_360.rb
browser-3.0.2 lib/browser/device/xbox_360.rb
browser-3.0.1 lib/browser/device/xbox_360.rb
browser-3.0.0 lib/browser/device/xbox_360.rb
browser-2.7.1 lib/browser/device/xbox_360.rb
browser-2.7.0 lib/browser/device/xbox_360.rb
browser-2.6.1 lib/browser/device/xbox_360.rb
browser-2.6.0 lib/browser/device/xbox_360.rb
browser-2.5.3 lib/browser/device/xbox_360.rb
browser-2.5.2 lib/browser/device/xbox_360.rb
browser-2.5.1 lib/browser/device/xbox_360.rb
browser-2.5.0 lib/browser/device/xbox_360.rb
browser-2.4.0 lib/browser/device/xbox_360.rb