Sha256: 431df1064c18d5b2aeae1f1831969e5b83794808b8d336f2cda86f7eb907c50f

Contents?: true

Size: 259 Bytes

Versions: 6

Compression:

Stored size: 259 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.match?(/PLAYSTATION 4/i)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
browser-6.2.0 lib/browser/device/playstation4.rb
browser-6.1.0 lib/browser/device/playstation4.rb
browser-6.0.0 lib/browser/device/playstation4.rb
browser-5.3.1 lib/browser/device/playstation4.rb
browser-5.3.0 lib/browser/device/playstation4.rb
browser-5.2.0 lib/browser/device/playstation4.rb