Sha256: 7ffae0edb44e3b4d48afb7a8a087ffd47d1cd559f38b64582e38152d74ff24e6

Contents?: true

Size: 252 Bytes

Versions: 7

Compression:

Stored size: 252 Bytes

Contents

# frozen_string_literal: true

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

      def name
        "TV"
      end

      def match?
        ua =~ /(tv|Android.*?ADT-1|Nexus Player)/i
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
browser-2.6.1 lib/browser/device/tv.rb
browser-2.6.0 lib/browser/device/tv.rb
browser-2.5.3 lib/browser/device/tv.rb
browser-2.5.2 lib/browser/device/tv.rb
browser-2.5.1 lib/browser/device/tv.rb
browser-2.5.0 lib/browser/device/tv.rb
browser-2.4.0 lib/browser/device/tv.rb