Class: Browser::Platform::AdobeAir
- Inherits:
-
Base
- Object
- Base
- Browser::Platform::AdobeAir
show all
- Defined in:
- lib/browser/platform/adobe_air.rb
Instance Attribute Summary
Attributes inherited from Base
#platform, #ua
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#id ⇒ Object
18
19
20
|
# File 'lib/browser/platform/adobe_air.rb', line 18
def id
:adobe_air
end
|
#match? ⇒ Boolean
6
7
8
|
# File 'lib/browser/platform/adobe_air.rb', line 6
def match?
ua.include?("AdobeAIR")
end
|
#name ⇒ Object
14
15
16
|
# File 'lib/browser/platform/adobe_air.rb', line 14
def name
"Adobe AIR"
end
|
#version ⇒ Object
10
11
12
|
# File 'lib/browser/platform/adobe_air.rb', line 10
def version
ua[%r{AdobeAIR/([\d.]+)}, 1]
end
|