Class: Browser::Device::KindleFire
- Inherits:
-
Base
- Object
- Base
- Browser::Device::KindleFire
show all
- Defined in:
- lib/browser/device/kindle_fire.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/kindle_fire.rb', line 6
def id
:kindle_fire
end
|
#match? ⇒ Boolean
14
15
16
|
# File 'lib/browser/device/kindle_fire.rb', line 14
def match?
ua.match?(/Kindle Fire|KFTT/)
end
|
#name ⇒ Object
10
11
12
|
# File 'lib/browser/device/kindle_fire.rb', line 10
def name
"Kindle Fire"
end
|