class Browser::Device::Switch

Public Instance Methods

id() click to toggle source
# File lib/browser/device/switch.rb, line 6
def id
  :switch
end
match?() click to toggle source
# File lib/browser/device/switch.rb, line 14
def match?
  ua.match?(/Nintendo Switch/i)
end
name() click to toggle source
# File lib/browser/device/switch.rb, line 10
def name
  "Nintendo Switch"
end