Class: Browser::Device::PlayStation3
- Inherits:
-
Base
- Object
- Base
- Browser::Device::PlayStation3
show all
- Defined in:
- lib/browser/device/playstation3.rb
Instance Attribute Summary
Attributes inherited from Base
#ua
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#id ⇒ Object
6
7
8
|
# File 'lib/browser/device/playstation3.rb', line 6
def id
:ps3
end
|
#match? ⇒ Boolean
14
15
16
|
# File 'lib/browser/device/playstation3.rb', line 14
def match?
ua.match?(/PLAYSTATION 3/i)
end
|
#name ⇒ Object
10
11
12
|
# File 'lib/browser/device/playstation3.rb', line 10
def name
"PlayStation 3"
end
|