Sha256: 25177f303ac92d390fe44c98120bfc87ba92c281aa52e9f7fe1d935d5a179c37

Contents?: true

Size: 239 Bytes

Versions: 7

Compression:

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

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