class Browser::Device::PlayStation4

Public Instance Methods

id() click to toggle source
# File lib/browser/device/playstation4.rb, line 6
def id
  :ps4
end
match?() click to toggle source
# File lib/browser/device/playstation4.rb, line 14
def match?
  ua.match?(/PLAYSTATION 4/i)
end
name() click to toggle source
# File lib/browser/device/playstation4.rb, line 10
def name
  "PlayStation 4"
end