Sha256: 008cca389e29e4f86c8d1b6a43dbc243a98464c81b728aebab15547a7fe3cf71

Contents?: true

Size: 254 Bytes

Versions: 11

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

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

      def name
        "TV"
      end

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
browser-5.1.0 lib/browser/device/tv.rb
browser-5.0.0 lib/browser/device/tv.rb
browser-4.2.0 lib/browser/device/tv.rb
browser-4.1.0 lib/browser/device/tv.rb
browser-4.0.0 lib/browser/device/tv.rb
browser-3.0.3 lib/browser/device/tv.rb
browser-3.0.2 lib/browser/device/tv.rb
browser-3.0.1 lib/browser/device/tv.rb
browser-3.0.0 lib/browser/device/tv.rb
browser-2.7.1 lib/browser/device/tv.rb
browser-2.7.0 lib/browser/device/tv.rb