class Browser::Device::TV

Public Instance Methods

id() click to toggle source
# File lib/browser/device/tv.rb, line 6
def id
  :tv
end
match?() click to toggle source
# File lib/browser/device/tv.rb, line 14
def match?
  ua.match?(/(\btv|Android.*?ADT-1|Nexus Player)/i)
end
name() click to toggle source
# File lib/browser/device/tv.rb, line 10
def name
  "TV"
end