Sha256: 9dc06ec0c968d1cdf08392da8c37cb89aae86e03757dd06e51a5f5cdb427a0b4

Contents?: true

Size: 259 Bytes

Versions: 5

Compression:

Stored size: 259 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Device
    class TV < Base
      def id
        :tv
      end

      def name
        "TV"
      end

      def match?
        ua.match?(/(\btv|Android.*?ADT-1|Nexus Player)/i)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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