Class: Browser::Platform::Base
- Inherits:
-
Object
- Object
- Browser::Platform::Base
- Defined in:
- lib/browser/platform/base.rb
Direct Known Subclasses
AdobeAir, Android, BlackBerry, ChromeOS, FirefoxOS, Linux, Other, Windows, WindowsMobile, WindowsPhone
Instance Attribute Summary collapse
-
#ua ⇒ Object
readonly
Returns the value of attribute ua.
Instance Method Summary collapse
-
#initialize(ua) ⇒ Base
constructor
A new instance of Base.
- #match? ⇒ Boolean
Constructor Details
#initialize(ua) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/browser/platform/base.rb', line 7 def initialize(ua) @ua = ua end |
Instance Attribute Details
#ua ⇒ Object (readonly)
Returns the value of attribute ua.
5 6 7 |
# File 'lib/browser/platform/base.rb', line 5 def ua @ua end |
Instance Method Details
#match? ⇒ Boolean
11 12 13 |
# File 'lib/browser/platform/base.rb', line 11 def match? false end |