Class: Browser::Device::BlackBerryPlaybook
- Inherits:
-
Base
- Object
- Base
- Browser::Device::BlackBerryPlaybook
show all
- Defined in:
- lib/browser/device/blackberry_playbook.rb
Instance Attribute Summary
Attributes inherited from Base
#ua
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#id ⇒ Object
5
6
7
|
# File 'lib/browser/device/blackberry_playbook.rb', line 5
def id
:playbook
end
|
#match? ⇒ Boolean
13
14
15
|
# File 'lib/browser/device/blackberry_playbook.rb', line 13
def match?
ua =~ /PlayBook.*?RIM Tablet/
end
|
#name ⇒ Object
9
10
11
|
# File 'lib/browser/device/blackberry_playbook.rb', line 9
def name
"BlackBerry Playbook"
end
|