Sha256: 9a0f3c70bf3c48e3027d46f967d1856e8bde8bef8ed53f7436bf99be3020f4a0

Contents?: true

Size: 254 Bytes

Versions: 18

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Device
    class PlayStation4 < Base
      def id
        :ps4
      end

      def name
        "PlayStation 4"
      end

      def match?
        ua =~ /PLAYSTATION 4/i
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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