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
#ua
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#id ⇒ Object
17
18
19
|
# File 'lib/browser/platform/adobe_air.rb', line 17
def id
:adobe_air
end
|
#match? ⇒ Boolean
5
6
7
|
# File 'lib/browser/platform/adobe_air.rb', line 5
def match?
ua =~ /AdobeAIR/
end
|
#name ⇒ Object
13
14
15
|
# File 'lib/browser/platform/adobe_air.rb', line 13
def name
"Adobe AIR"
end
|
#version ⇒ Object
9
10
11
|
# File 'lib/browser/platform/adobe_air.rb', line 9
def version
ua[%r[AdobeAIR/([\d.]+)], 1]
end
|