class Browser::Device::PlayStation4

Public Instance Methods

id() click to toggle source
# File lib/browser/device/playstation4.rb, line 5
def id
  :ps4
end
match?() click to toggle source
# File lib/browser/device/playstation4.rb, line 13
def match?
  ua =~ /PLAYSTATION 4/i
end
name() click to toggle source
# File lib/browser/device/playstation4.rb, line 9
def name
  "PlayStation 4"
end