Sha256: 8a948c56baae74993f839a26bab409d1a663db2bc28d575e341b5fef92eda8f5

Contents?: true

Size: 251 Bytes

Versions: 7

Compression:

Stored size: 251 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 & 2 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/browser-2.3.0/lib/browser/device/tv.rb
browser-2.3.0 lib/browser/device/tv.rb
browser-2.2.0 lib/browser/device/tv.rb
browser-2.1.0 lib/browser/device/tv.rb
browser-2.0.3 lib/browser/device/tv.rb
browser-2.0.2 lib/browser/device/tv.rb
browser-2.0.1 lib/browser/device/tv.rb